network/roles/access/handlers/main.yml

7 lines
230 B
YAML
Raw Normal View History

2023-12-18 10:22:14 +00:00
- name: write config
ansible.netcommon.cli_command:
command: "copy running-config startup-config"
prompt: "Destination filename startup-config\\? \\[y/n\\]: "
answer: "y"
when: "'handler' not in ansible_skip_tags"