ansible/playbooks/97_test.yml
2023-08-21 09:49:57 +02:00

14 lines
278 B
YAML

---
- hosts: containers
become: false
gather_facts: true
tasks:
- debug:
msg: play1
- name: Test
command: nvram get vts_rulelist
when: inventory_hostname in groups['router']
register: vts_ruleset
- debug:
msg: { vts_ruleset }