Update 2 files
- /roles/mealie/tasks/main.yml - /roles/bookstack/tasks/main.yml
This commit is contained in:
parent
515b345c56
commit
218220bf9c
@ -10,16 +10,6 @@
|
|||||||
- "{{ bookstack_uploads_dir }}"
|
- "{{ bookstack_uploads_dir }}"
|
||||||
- "{{ bookstack_db_dir }}"
|
- "{{ bookstack_db_dir }}"
|
||||||
|
|
||||||
- name: Check if Bookstack directories exist
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- item.stat.exists
|
|
||||||
fail_msg: "Directory {{ item.path }} does not exist. Please create it manually."
|
|
||||||
loop:
|
|
||||||
- { path: "{{ bookstack_config_dir }}" }
|
|
||||||
- { path: "{{ bookstack_uploads_dir }}" }
|
|
||||||
- { path: "{{ bookstack_db_dir }}" }
|
|
||||||
|
|
||||||
- name: Deploy Bookstack docker-compose.yml
|
- name: Deploy Bookstack docker-compose.yml
|
||||||
template:
|
template:
|
||||||
src: docker-compose.yml.j2
|
src: docker-compose.yml.j2
|
||||||
|
|||||||
@ -8,13 +8,6 @@
|
|||||||
- "{{ mealie_base_dir }}"
|
- "{{ mealie_base_dir }}"
|
||||||
- "{{ mealie_data_dir }}"
|
- "{{ mealie_data_dir }}"
|
||||||
|
|
||||||
- name: Check if Mealie data directory exists
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- item.stat.exists
|
|
||||||
fail_msg: "Directory {{ item.path }} does not exist. Please create it manually."
|
|
||||||
loop:
|
|
||||||
- { path: "{{ mealie_data_dir }}" }
|
|
||||||
|
|
||||||
- name: Deploy Mealie docker-compose.yml
|
- name: Deploy Mealie docker-compose.yml
|
||||||
template:
|
template:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user