title |
---|
Ansible Collection Role eos_config_deploy_eapi |
eos_config_deploy_eapi is a role that deploys the configuration to Arista EOS devices.
The eos_config_deploy_eapi role:
- Designed to replace device running configuration with intended configuration.
- Backup configuration after a successful change.
Figure 1 below provides a visualization of the role's inputs, outputs, and tasks in order executed by the role.
Inputs:
- Device configuration file in EOS CLI syntax.
Outputs:
- Device running configuration before configuration is replaced (snapshot).
- Device running configuration after configuration is replaced (backup).
Tasks:
- Take a backup of the running configuration before configuration is replaced (pre) - (optional, default false).
- Destination:
{{ pre_running_config_backup_dir }}/{{ pre_running_config_backup_filename }}
- Destination:
- Replace configuration on device with intended EOS configuration. If changed, saves to startup-config, and notifies handler to backup configuration.
- Backup Configuration after the configuration is replaced (post) with handler.
- Destination:
{{ post_running_config_backup_dir }}/{{ post_running_config_backup_filename }}
.
- Destination:
--8<--
ansible_collections/arista/avd/roles/eos_config_deploy_eapi/defaults/main.yml
--8<--
Requirements are located here: avd-requirements
Project is published under Apache 2.0 License