From 3a1cd4d45a7e9e9aa1ae48e33efa893a6c28cae4 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Wed, 4 Apr 2018 02:43:58 +0200 Subject: [PATCH] Fix incorrect RN used in module (#38245) This requires backporting to v2.5 --- lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py b/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py index 1064523dd1b..cf637d4901d 100755 --- a/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py +++ b/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py @@ -302,7 +302,7 @@ def main(): elif domain_type == 'vmm': domain_class = 'vmmDomP' domain_mo = 'uni/vmmp-{0}/dom-{1}'.format(VM_PROVIDER_MAPPING[vm_provider], domain) - domain_rn = 'dom-{0}'.format(domain) + domain_rn = 'vmmp-{0}/dom-{1}'.format(VM_PROVIDER_MAPPING[vm_provider], domain) # Ensure that querying all objects works when only domain_type is provided if domain is None: