From 4c7123a25572c3790a19243cee7e1f2e7fbbc6af Mon Sep 17 00:00:00 2001 From: David Stephens Date: Tue, 28 May 2024 23:21:52 +0100 Subject: [PATCH] Linting --- roles/calibreweb/tasks/main.yml | 8 +++++--- roles/silverbullet/tasks/main.yml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/calibreweb/tasks/main.yml b/roles/calibreweb/tasks/main.yml index 773fd2be5d..7daa5b55bb 100644 --- a/roles/calibreweb/tasks/main.yml +++ b/roles/calibreweb/tasks/main.yml @@ -2,7 +2,7 @@ - name: Start Calibre-web block: - name: Create Calibre-web Directories - file: + ansible.builtin.file: path: "{{ item }}" state: directory with_items: @@ -10,7 +10,9 @@ - "{{ calibreweb_data_directory }}/data" - name: Calibre-web Docker Container - docker_container: + community: + docker: + docker_container: name: "{{ calibreweb_container_name }}" image: linuxserver/calibre-web:latest pull: true @@ -39,7 +41,7 @@ - name: Stop Calibre-web block: - name: Stop Calibre-web - docker_container: + community.docker.docker_container: name: "{{ calibreweb_container_name }}" state: absent when: calibreweb_enabled is false diff --git a/roles/silverbullet/tasks/main.yml b/roles/silverbullet/tasks/main.yml index aaf1563fba..d97f18cb07 100644 --- a/roles/silverbullet/tasks/main.yml +++ b/roles/silverbullet/tasks/main.yml @@ -8,7 +8,7 @@ with_items: - "{{ silverbullet_data_directory }}" - - name: silverbullet Docker Container + - name: Silverbullet Docker Container community.docker.docker_container: name: "{{ silverbullet_container_name }}" image: "{{ silverbullet_image_name }}:{{ silverbullet_image_version }}" @@ -35,7 +35,7 @@ homepage.description: Notes for developers when: silverbullet_enabled is true -- name: Stop silverbullet +- name: Stop Silverbullet block: - name: Stop silverbullet community.docker.docker_container: