upt playbook

This commit is contained in:
jaydee 2023-08-21 10:28:13 +02:00
parent 3d538d5e03
commit 932b71fa7f

View File

@ -90,14 +90,14 @@
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') }}"
when: inventory_hostname in groups['router']