This Ansible collection includes ftd
terminal and cliconf plugins that allow you to use it as ansible_network_os
under network_cli
connection.
This collection has been tested against Cisco FTD version 7.0.1
This collection has been tested against following Ansible versions: >=2.14.2.
Nothing special.
With the collection installed just call ansible.netcommon.cli_command module targeting a FTD device.
---
- name: Show running configuration
cli_command:
command: show running-config
register: reg
- debug: var=reg.stdout
For obvious reasons cli_config
is unsupported on a FTD gear managed under FMC (TDB: backup as the only supported option). You can try other collections instead, fmc_collections by amotolani for example.
- Ansible Using collections for more details.
We are seeking contributions to help improve this collection. If you find problems, or a way to make it better, please open an issue or create a PR against the cisco_ftd_cli collection repository.
This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.
- Ansible User guide
- Ansible network resources
- Ansible Collection overview
- Ansible Developer guide
- Ansible Developing network plugins
- Cisco Firepower Threat Defence Notes
- Ansible code of conduct
GNU General Public License v3.0 or later.
See LICENSE to see the full text.