Using raw commands for network operations
Ansible has a large collection of modules and plugins to support most of the well-known network and firewall devices. The following figure shows some of the supported network devices and brands for network automation:
Figure 15.3 – Supported brands for Ansible network automation (source: https://www.ansible.com/integrations/networks)
However, there will be situations where you must overcome the following challenges:
- No supported Ansible module is available to execute a specific network or firewall operation.
- There is a module available for operation but the specific feature or parameter you are looking for doesn’t exist in the current module version.
- The supported module for the operation is using a slow method compared to the CLI command on the device.
Network Collections in the Ansible Collection Index
Refer to the documentation page at https://docs.ansible.com/ansible/latest...