10-27-2022 12:44 AM
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?
10-27-2022 02:56 AM
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
11-03-2022 08:55 AM
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?
11-04-2022 08:01 AM
NDO has a different config structure and different ansible playbooks.
11-04-2022 12:05 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide