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
f5eb2769fa
commit
55c44a199a
@ -33,9 +33,7 @@
|
||||
when: inventory_hostname in groups['router']
|
||||
register: ruleset
|
||||
|
||||
- debug:
|
||||
msg: "{{ ruleset.stdout }}"
|
||||
|
||||
|
||||
- name: Set new ruleset
|
||||
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.106', '192.168.77.246') }}"
|
||||
when: inventory_hostname in groups['router']
|
||||
@ -95,8 +93,8 @@
|
||||
when: inventory_hostname in groups['nas']
|
||||
|
||||
|
||||
- debug:
|
||||
msg: "{{ ruleset.stdout }}"
|
||||
#- debug:
|
||||
# msg: "{{ ruleset.stdout }}"
|
||||
|
||||
- name: Set new ruleset
|
||||
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.246', '192.168.77.106') }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user