cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
295
Views
0
Helpful
2
Replies

Ansible with FTD_FMC 7.6

adedayo303
Level 1
Level 1

Hi everyone. I’m just curious if anyone has tried using ansible with the FTD7.6 managed by FMC 7.6 virtual appliances.I am trying to test out some ansible playbook and python script to create an HA pair but getting different kind of errors.

The doc  https://www.cisco.com/c/en/us/support/docs/security/secure-firewall-management-center-virtual/221633-configure-fmc-with-ansible-to-create-ftd.html

referenced 7.4 so I am just wondering if the 7.6 APIs are not supported by the ansible modules yet. Any thoughts?

2 Replies 2

What errors are you getting?

I would guess that your assumption is correct, that the APIs for 7.6 are not present in ansible right now.

--
Please remember to select a correct answer and rate helpful posts

Hi Marius, The error below keeps occurring despite tweaks to the playbook. I have attached the entire playbook as well

#PLAY [Configure FTD HA Pair] **************************************************************************************************************************************************************************************

TASK [Get Domain UUID] ********************************************************************************************************************************************************************************************
ok: [172.19.0.3]

TASK [Get Device Group] *******************************************************************************************************************************************************************************************
fatal: [172.19.0.3]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'uuid'\n\nThe error appears to be in '/etc/ansible/playbooks/FTD-HA': line 17, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Get Device Group\n ^ here\n"}

PLAY RECAP ********************************************************************************************************************************************************************************************************
172.19.0.3 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 #

Review Cisco Networking for a $25 gift card