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
50ee31da89
commit
cdab179c3a
@ -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 }
|
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user