mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
lala
This commit is contained in:
parent
93459ee448
commit
57f02bd83c
@ -10,10 +10,6 @@
|
|||||||
when: inventory_hostname in groups['router']
|
when: inventory_hostname in groups['router']
|
||||||
register: ruleset
|
register: ruleset
|
||||||
|
|
||||||
- name: Pause for 60 seconds
|
|
||||||
ansible.builtin.pause:
|
|
||||||
seconds: 60
|
|
||||||
|
|
||||||
- name: Set new ruleset
|
- name: Set new ruleset
|
||||||
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.246', '192.168.77.106') }}"
|
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.246', '192.168.77.106') }}"
|
||||||
when: inventory_hostname in groups['router']
|
when: inventory_hostname in groups['router']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user