network/roles/access/handlers/main.yml
Timotej Lazar 0802dc8637 access: move templates to netbox
And adjust tasks to work with FS switches also.
2023-12-29 14:55:00 +01:00

11 lines
345 B
YAML

- name: write config
ansible.netcommon.cli_command:
command: "copy running-config startup-config"
prompt:
- "Destination filename startup-config\\? \\[y/n\\]: " # d-link
- "Do you want to overwrite \\[/data/config.text\\]\\? \\[Y/N\\]:" # fs
answer:
- "y"
- "y"
when: "'handler' not in ansible_skip_tags"