Added zoneminder to aya01 (if I hadn't before)

Added backblaze (todo documentation)

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2022-12-06 16:36:21 +01:00
parent 70083f2974
commit b371e246a9
16 changed files with 150 additions and 11 deletions

View File

@@ -6,7 +6,9 @@
mode: '700'
state: directory
loop:
- "{{ docker_dir }}/zm/"
- "{{ zoneminder_data }}"
- "{{ zoneminder_config }}"
become: true
# Todo, check if docker compose is running
# - name: Shut down docker

View File

@@ -2,6 +2,6 @@
- include_tasks: install.yml
- include_tasks: user_group_setup.yml
- include_tasks: pi_compose.yml
when: ansible_hostname == "pi"
when: inventory_hostname == "pi"
- include_tasks: aya01_compose.yml
when: ansible_hostname == "aya01"
when: inventory_hostname == "aya01"