mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
ole
This commit is contained in:
parent
9cc98053c1
commit
78bb785e0d
@ -64,7 +64,7 @@ datacenter:
|
||||
vars:
|
||||
ansible_python_interpreter: /opt/bin/python
|
||||
ansible_user: admin
|
||||
ansible_pass: l4c1j4yd33Du5lo
|
||||
ansible_pass: l4c1!j4yd33?Du5lo
|
||||
raspberry:
|
||||
hosts:
|
||||
192.168.77.246
|
||||
@ -88,5 +88,5 @@ datacenter:
|
||||
192.168.77.106:
|
||||
vars:
|
||||
ansible_user: admin
|
||||
ansible_pass: l4c1j4yd33Du5lo
|
||||
ansible_pass: l4c1!j4yd33?Du5lo
|
||||
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3
|
@ -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']
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user