CiscoDevNet / ansible-aci

Cisco ACI Ansible Collection
https://galaxy.ansible.com/cisco/aci
GNU General Public License v3.0
143 stars 97 forks source link

cisco.aci.aci_static_binding_to_epg module Bug #579

Closed arammoreno closed 10 months ago

arammoreno commented 10 months ago

Community Note

Description

The problem is that the Ansible ACI module introduces a DN0= when it should be DN=

This would be the object I should use example,

dn="xx/tn-xx/ap-xx/epg-xx/rspathAtt-[topology/pod-1/paths-201/pathep-[eth1/84]]"

Affected Module Name(s):

APIC version and APIC Platform

Collection versions

Output/ Error message

*

Expected Behavior

*

Actual Behavior

*

Playbook tasks to Reproduce

Important Factoids

References

shrsr commented 10 months ago

@arammoreno Thank you for opening the issue. Did you start facing this after updating aci collection to v2.8.0?

Did you mean to use state: query in the task of your playbook?

akinross commented 10 months ago

@arammoreno, could you also provide the variables that you are passing in to interface argument? Where is this coming from and could it be prepended with a space character? Furthermore could you share logs of the tasks during your playbook execution with a higher verbosity level?

arammoreno commented 10 months ago

Hi,

This infrastructure is new, both Ansible and ACI, so I ran into the problem right now for the first time.

I attach the variable data and the playbook records.

vars.txt task2_log.txt

arammoreno commented 10 months ago

Hi,

I'm sorry, I have performed a debug on my variables and the problem is that I was passing a variable wrong, which is why it failed, thank you for answering and apologizing.

best regards.

akinross commented 10 months ago

No worries and no need for an apology, these things happen sometimes. Good to hear your problem is resolved. I will close the issue.