This is my first post and I need to know how to automate a portion of the our infrastructure in ACI, mainly the creation of leaf interface profiles. I didn't see any Ansible modules that would allow me to do so, listed on their website, but maybe I am just missing it. I am not all that great at Python, though I can code.
I noticed this before but I didn't see any indication on how to indicate which tenant to apply this leaf interface profile object under. Also if I wanted to associate a physical port to the leaf profile object via an access port selector would this module accomplish that?
At the first step you didn't apply Leaf Interface Profile under a tenant. The first creation is tenant independent. After creating your profiles you should also create an interface policy group. Under Leaf interface Profile there are the access port selectors. This is the place where you bind the interface policy group. You will find it here: