From 5fca39427949d818bb653c3caba6c984332b2cdf Mon Sep 17 00:00:00 2001 From: Eduardo Pozo <56543676+edudppaz@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:51:04 +0200 Subject: [PATCH] change filter to tDn and added module_object --- plugins/modules/aci_domain_to_vlan_pool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/aci_domain_to_vlan_pool.py b/plugins/modules/aci_domain_to_vlan_pool.py index 2a39aea9e..7e6ebc941 100644 --- a/plugins/modules/aci_domain_to_vlan_pool.py +++ b/plugins/modules/aci_domain_to_vlan_pool.py @@ -333,7 +333,8 @@ def main(): subclass_1=dict( aci_class="infraRsVlanNs", aci_rn="rsvlanNs", - target_filter={"dn": "{0}/rsvlanNs".format(domain_mo)}, + module_object="rsvlanNs", + target_filter={"tDn": aci_mo}, ), )