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

15 lines
328 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: result
- debug:
msg: "{{ result.stdout | replace('192.168.77.106', '192.168.77.246') }}"