mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
upt playbook
This commit is contained in:
parent
fad6a3cf6c
commit
d4840c1324
@ -20,9 +20,9 @@
|
|||||||
when: inventory_hostname in groups['router']
|
when: inventory_hostname in groups['router']
|
||||||
register: ruleset
|
register: ruleset
|
||||||
|
|
||||||
- name: Pause for 30 seconds
|
- name: Pause for 60 seconds
|
||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
seconds: 30
|
seconds: 60
|
||||||
|
|
||||||
- name: Set new ruleset
|
- name: Set new ruleset
|
||||||
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
||||||
@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
- name: Pause for 30 seconds
|
- name: Pause for 30 seconds
|
||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
seconds: 30
|
seconds: 60
|
||||||
#- debug:
|
#- debug:
|
||||||
# msg: "{{ ruleset.stdout }}"
|
# msg: "{{ ruleset.stdout }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user