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

Ansible ACI Modules Questions (missing functionality??)

matthew-pearson
Level 1
Level 1

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.

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

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

Ruben Cocheno
Spotlight
Spotlight

@matthew-pearson 

Has this been resolved? Do you still need help?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/