AnsibleBlogExample/playbook.yaml

16 lines
292 B
YAML
Raw Normal View History

2024-06-10 18:11:08 +00:00
- 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