upt playbook

This commit is contained in:
jaydee 2023-08-30 10:33:37 +02:00
parent 3764d0e9b9
commit 35bc52f5b3

View File

@ -18,6 +18,8 @@
- 130
- 149
- 140
- 150
- 132
- name: Get ruleset
command: nvram get vts_rulelist
@ -41,7 +43,7 @@
when: inventory_hostname in groups['router']
args:
warn: false
- name: Stop mailu main
uri:
url: "http://192.168.77.106:9000/api/stacks/108/stop?endpointId=2"
@ -111,7 +113,9 @@
- 130
- 149
- 140
- 150
- 132
- name: Copy archive
ansible.builtin.shell: 'scp /share/Data/dockers-{{ ansible_date_time.date }}.tar.gz admin@192.168.77.246:/tmp/'
when: inventory_hostname in groups['nas']