upt playbook

This commit is contained in:
jaydee 2023-08-21 09:49:57 +02:00
parent 50ee31da89
commit cdab179c3a
2 changed files with 6 additions and 3 deletions

View File

@ -8,4 +8,7 @@
- name: Test
command: nvram get vts_rulelist
when: inventory_hostname in groups['router']
when: inventory_hostname in groups['router']
register: vts_ruleset
- debug:
msg: { vts_ruleset }

View File

@ -72,7 +72,7 @@
headers:
Content-Type: "application/json"
X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg="
timeout: 60
timeout: 60
register: result
ignore_errors: yes
when: inventory_hostname in groups['nas']
@ -85,7 +85,7 @@
headers:
Content-Type: "application/json"
X-API-Key: "ptr_DfS2M6Fj2P3fVvYpkhE0KJh2UGCzY47ePaFaLqadsjg="
timeout: 60
timeout: 60
register: result
ignore_errors: yes
when: inventory_hostname in groups['nas']