06-03-2020 12:41 PM
So I have spent some time with the modules and have them working but there are some tasks related to APs and EPGs that dont seem to be contained in the modules on AnsibleGalaxy and I was wondering am I missing something or is this missing functionality?
1. The ability to attach monitoring_profiles to APs or EPGs seems missing.
2. The ability to assign an EPG Contract Master to EPGs doesn't seem to be contained in the module functionality either.
Am I missing something, is there a workaround? Any help would be appreciated.
06-03-2020 01:26 PM
There are a lot of missing functionalities as standalone dedicated modules.
What you can do, is use aci_rest module to post the config as you want: https://docs.ansible.com/ansible/latest/modules/aci_rest_module.html This is what I do for L3Outs where are a loooot of missing modules.
How you can build your own aci_rest module you might ask? well, you simply save a working config for a specific object you want to push through ansible (right click in ACI GUI > save as > config only + json) and you change the variables in your playbook.
Let me know if you have any questions.
Stay safe,
Sergiu
02-01-2024 07:41 AM
Has this been resolved? Do you still need help?
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