diff --git a/roles/calibreweb/tasks/main.yml b/roles/calibreweb/tasks/main.yml index 773fd2be..7daa5b55 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 aaf1563f..d97f18cb 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: