cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1192
Views
10
Helpful
4
Replies

Convert existing ACI configuration into Ansible playbooks

hofvanta_ziggo
Level 1
Level 1

I work already some time with Ansible, but most from day 1 of Cisco ACI implemenation. 
We have an large (network centric) ACI deployment which we also want to configure via Ansible. 
Does anyone knowns if its possible to import/convert an existing ACI configuration in Ansible playbooks?

4 Replies 4

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @hofvanta_ziggo 

Sure, you can do it using aci_rest module:

https://docs.ansible.com/ansible/latest/collections/cisco/aci/aci_rest_module.html

 

Take care,

Sergiu

Is this also working for NDO, as you know? When NDO controlling the APICs for differt sites? And how does the playbook look like when you import into playbooks? Is the structure then the same? 

NDO has a different config structure and different ansible playbooks.

Let me ask a second question then. Is this also possible with NDO with the same rest API module or you need to have an different one or is this not even possible? Reason: We have a hugh existing ACI configuration and going to multi-site, and planned to use NDO, but also start with Ansible. NDO can import existing ACI configs. So we want to find a way to convert NDO configs into Ansible playbooks can configure NDO from that moment on.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License