Creating ACL entries in a Cisco ASA device
Cisco ASA is a security device with the capabilities of firewall, antivirus, intrusion prevention, and VPN. Refer to https://www.cisco.com/c/en/us/products/security/adaptive-security-appliance-asa-software/index.html to learn more about Cisco ASA.
The Cisco ASA collection (https://galaxy.ansible.com/cisco/asa) provides modules and plugins to automate Cisco ASA operations. In this section, you will learn how to use Cisco ASA modules to create ACL entries in a Cisco ASA device.
The first task is to install the Cisco ASA collection using the ansible-galaxy
command, as follows:
$ ansible-galaxy collection install cisco.asa
Like you have configured the VyOS connection variables, you need to configure the Cisco ASA device connection variables, as follows:
Figure 6.23 – Cisco ASA inventory variables
As usual, remember to encrypt the password using Ansible Vault (or a credential in Ansible Automation Controller...