Closed aj-cruz closed 1 month ago
Hi @aj-cruz,
This is expected in the module, see issue https://github.com/CiscoDevNet/ansible-aci/issues/645 with a linked PR that updates the documentation for more details.
There is another PR open to address the documentation throughout the repository, see https://github.com/CiscoDevNet/ansible-aci/pull/655.
Hi @aj-cruz, did this clarify it for you?
@akinross Yes thank you it can be closed. Though I am curious, what is different about the way aci_rest functions that it works properly with it?
Hi @aj-cruz,
If the request done in aci_rest is a POST/DELETE request we set the ?rsp-subtree=modified
flag. This flag will return only modified attributes, and determines based on the return of the request if it has changed or not.
This is done because there is no initial GET request done like we do in regular modules to determine the difference and whether we should send changes to apic or not.
Community Note
Description
aci_l3out_bgp_peer
module, each run of the playbook will report a change in the peer object.Not sure if this is possible with passwords, but I noticed when I use
aci_rest
setting and changing passwords works properlyAffected Module Name(s):
APIC version and APIC Platform
Collection versions
Output/ Error message
Expected Behavior
Actual Behavior
Playbook tasks to Reproduce
Important Factoids
If I do it with
aci_rest
with the following example playbook, it works fine:References