This commit is contained in:
ladislav.dusa
2023-12-07 08:59:21 +01:00
parent 9cc98053c1
commit 78bb785e0d
2 changed files with 7 additions and 2 deletions

View File

@ -68,6 +68,11 @@
- name: Restart firewall
command: service restart_firewall
when: inventory_hostname in groups['router']
- name: Stop containers
command: "docker stop {{ containers | join(' ') }}"
become: true
ignore_errors: true
when: inventory_hostname in groups['nas']