1234567891011121314151617181920212223242526 |
- ---
- - name: Save configuration
- block:
- - name: Set parameters to save configuration
- set_fact:
- save_config: "configuration write"
- - name: Save current switch configuration to startup-configuration
- include_tasks: global_config.yml
- with_items: "{{ save_config }}"
- when: save_changes_to_startup
|