mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-02-02 22:48:48 +00:00
upt playbook
This commit is contained in:
parent
3e31668907
commit
d10852241a
@ -13,3 +13,12 @@
|
|||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ result.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
msg: "{{ result.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
command: nvram set vts_rulelist="{{ result.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
||||||
|
when: inventory_hostname in groups['router']
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
command: nvram commit
|
||||||
|
when: inventory_hostname in groups['router']
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user