cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
114
Views
0
Helpful
1
Replies
Highlighted

Ansible ACI Modules Questions (missing functionality??)

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.

1 REPLY 1
Highlighted
Rising star

Re: Ansible ACI Modules Questions (missing functionality??)

Hi @matthew-pearson 

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

This widget could not be displayed.