From cbf8a396f7afbfcc9a0b868a4c0707845fae7bc2 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 21 Aug 2023 09:25:58 +0200 Subject: [PATCH] upt playbook --- hosts.yml | 34 +++++++++++++++++++--------------- playbooks/sync.yaml | 2 +- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/hosts.yml b/hosts.yml index c49c498..9aa3e22 100644 --- a/hosts.yml +++ b/hosts.yml @@ -24,13 +24,7 @@ datacenter: 192.168.77.12: vars: ansible_python_interpreter: auto_silent - nas: - hosts: - 192.168.77.106: - vars: - ansible_user: admin - ansible_pass: l4c1j4yd33Du5lo - ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3 + omv: hosts: 192.168.77.189: @@ -55,11 +49,21 @@ datacenter: ansible_port: 5985 ansible_winrm_server_cert_validation: ignore ansible_winrm_kerberos_delegation: true - router: - hosts: - 192.168.77.1 - vars: - ansible_python_interpreter: /opt/bin/python - raspberry: - hosts: - 192.168.77.246 \ No newline at end of file + children: + containers: + children: + router: + hosts: + 192.168.77.1 + vars: + ansible_python_interpreter: /opt/bin/python + raspberry: + hosts: + 192.168.77.246 + nas: + hosts: + 192.168.77.106: + vars: + ansible_user: admin + ansible_pass: l4c1j4yd33Du5lo + ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3 \ No newline at end of file diff --git a/playbooks/sync.yaml b/playbooks/sync.yaml index a43386f..d90f895 100644 --- a/playbooks/sync.yaml +++ b/playbooks/sync.yaml @@ -1,4 +1,4 @@ -- hosts: nas +- hosts: datacenter name: Stop mailu tasks: - name: Stop HA