ftd_install – Installs FTD pkg image on the firewall¶
New in version 2.8.
Provisioning module for FTD devices that installs ROMMON image (if needed) and FTD pkg image on the firewall.
Can be used with httpapi and local connection types. The httpapi is preferred, the local connection should be used only when the device cannot be accessed via REST API.
The below requirements are needed on the host that executes this module.
python >= 3.5
Requires firepower-kickstart library that should be installed separately and requires Python >= 3.5.
On localhost, Ansible can be still run with Python >= 2.7, but the interpreter for this particular module must be Python >= 3.5.
Python interpreter for the module can overwritten in ansible_python_interpreter variable.
- name: Install image v6.3.0 on FTD 5516 ftd_install: device_hostname: firepower device_password: pass device_ip: 192.168.0.1 device_netmask: 255.255.255.0 device_gateway: 192.168.0.254 dns_server: 184.108.40.206 console_ip: 10.89.0.0 console_port: 2004 console_username: console_user console_password: console_pass rommon_file_location: 'tftp://10.89.0.11/installers/ftd-boot-220.127.116.11.lfbff' image_file_location: 'https://10.89.0.11/installers/ftd-6.3.0-83.pkg' image_version: 6.3.0-83
Common return values are documented here, the following are the fields unique to this module:
The message saying whether the image was installed or explaining why the installation failed.