mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
3764d0e9b9
commit
35bc52f5b3
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user