This commit is contained in:
David Stephens 2024-05-28 23:21:52 +01:00
parent 2ca43fbd3a
commit 4c7123a255
2 changed files with 7 additions and 5 deletions

View file

@ -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,6 +10,8 @@
- "{{ calibreweb_data_directory }}/data"
- name: Calibre-web Docker Container
community:
docker:
docker_container:
name: "{{ calibreweb_container_name }}"
image: linuxserver/calibre-web:latest
@ -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

View file

@ -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: