AnsibleBlogExample/playbook.yaml
2024-06-10 21:11:08 +03:00

16 lines
292 B
YAML

- name: Dump config from router
hosts: routers
tasks:
- name: Dump config
vyos.vyos.vyos_config:
backup: yes
backup_options:
dir_path: ./router_backup
filename: ./backup.cfg
- name: Configure PCs
hosts: PCs
roles:
- web-browser