ansible_role_cisco_asa_backup_config
cisco_asa_backup_config
A role that creates backups of Cisco ASA configurations. The role works with ASAs both with and without security contexts.
Requirements
This role requires the asa command module, which can be installed by ansible-galaxy collection install cisco.asa
.
Role Variables
cabc_backup_destination:
This variable provides the directory name in which the backup configuration file(s) will be stored. If the directory does not exist, it will be created.
If the variable is not given, a backup directory named backup
will be created in the current working directory and backups will be copied to that directory.
Example Playbook
- hosts: all
gather_facts: no
roles:
- cisco_asa_backup_config
vars:
cabc_backup_destination: /tmp/asa_backups/
Example Inventory
[ciscoasa]
ciscoasa01 ansible_host=192.168.0.1
[ciscoasa:vars]
ansible_connection=ansible.netcommon.network_cli
ansible_network_os=cisco.asa.asa
ansible_user=cisco
ansible_password=cisco
ansible_become_password=cisco
License
BSD Zero Clause License
Author Information
Written by Farid Joubbi - Conoa AB - https://conoa.se
About
Creates backups of Cisco ASA configurations, both with and without security contexts.
Install
ansible-galaxy install Conoa/ansible-role-cisco_asa_backup_config
License
other
Downloads
25
Owner
Enterprise Linux Open Source Experts