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:
|
vars:
|
||||||
ansible_python_interpreter: /opt/bin/python
|
ansible_python_interpreter: /opt/bin/python
|
||||||
ansible_user: admin
|
ansible_user: admin
|
||||||
ansible_pass: l4c1j4yd33Du5lo
|
ansible_pass: l4c1!j4yd33?Du5lo
|
||||||
raspberry:
|
raspberry:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.77.246
|
192.168.77.246
|
||||||
@ -88,5 +88,5 @@ datacenter:
|
|||||||
192.168.77.106:
|
192.168.77.106:
|
||||||
vars:
|
vars:
|
||||||
ansible_user: admin
|
ansible_user: admin
|
||||||
ansible_pass: l4c1j4yd33Du5lo
|
ansible_pass: l4c1!j4yd33?Du5lo
|
||||||
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3
|
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3
|
@ -68,6 +68,11 @@
|
|||||||
- name: Restart firewall
|
- name: Restart firewall
|
||||||
command: service restart_firewall
|
command: service restart_firewall
|
||||||
when: inventory_hostname in groups['router']
|
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