mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
Linting
This commit is contained in:
parent
2ca43fbd3a
commit
4c7123a255
2 changed files with 7 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
- name: Start Calibre-web
|
- name: Start Calibre-web
|
||||||
block:
|
block:
|
||||||
- name: Create Calibre-web Directories
|
- name: Create Calibre-web Directories
|
||||||
file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -10,6 +10,8 @@
|
||||||
- "{{ calibreweb_data_directory }}/data"
|
- "{{ calibreweb_data_directory }}/data"
|
||||||
|
|
||||||
- name: Calibre-web Docker Container
|
- name: Calibre-web Docker Container
|
||||||
|
community:
|
||||||
|
docker:
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "{{ calibreweb_container_name }}"
|
name: "{{ calibreweb_container_name }}"
|
||||||
image: linuxserver/calibre-web:latest
|
image: linuxserver/calibre-web:latest
|
||||||
|
@ -39,7 +41,7 @@
|
||||||
- name: Stop Calibre-web
|
- name: Stop Calibre-web
|
||||||
block:
|
block:
|
||||||
- name: Stop Calibre-web
|
- name: Stop Calibre-web
|
||||||
docker_container:
|
community.docker.docker_container:
|
||||||
name: "{{ calibreweb_container_name }}"
|
name: "{{ calibreweb_container_name }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: calibreweb_enabled is false
|
when: calibreweb_enabled is false
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ silverbullet_data_directory }}"
|
- "{{ silverbullet_data_directory }}"
|
||||||
|
|
||||||
- name: silverbullet Docker Container
|
- name: Silverbullet Docker Container
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: "{{ silverbullet_container_name }}"
|
name: "{{ silverbullet_container_name }}"
|
||||||
image: "{{ silverbullet_image_name }}:{{ silverbullet_image_version }}"
|
image: "{{ silverbullet_image_name }}:{{ silverbullet_image_version }}"
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
homepage.description: Notes for developers
|
homepage.description: Notes for developers
|
||||||
when: silverbullet_enabled is true
|
when: silverbullet_enabled is true
|
||||||
|
|
||||||
- name: Stop silverbullet
|
- name: Stop Silverbullet
|
||||||
block:
|
block:
|
||||||
- name: Stop silverbullet
|
- name: Stop silverbullet
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
|
|
Loading…
Reference in a new issue