mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
upt playbook
This commit is contained in:
@ -90,13 +90,13 @@
|
||||
Content-Type: "application/json"
|
||||
X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg="
|
||||
timeout: 60
|
||||
|
||||
ignore_errors: yes
|
||||
when: inventory_hostname in groups['nas']
|
||||
|
||||
|
||||
- debug:
|
||||
msg: "{{ ruleset.stdout }}"
|
||||
when: inventory_hostname in groups['router']
|
||||
|
||||
- name: Set new ruleset
|
||||
command: nvram set vts_rulelist="{{ ruleset.stdout | replace('192.168.77.246', '192.168.77.106') }}"
|
||||
|
Reference in New Issue
Block a user