From 4b8e76747ee164ebce0cd92b0d3752e848ce0734 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sat, 20 Jan 2018 22:49:59 +0100 Subject: [PATCH] aci_config_snapshot: Fix bug with filter_target (#35141) --- lib/ansible/modules/network/aci/aci_config_snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/aci/aci_config_snapshot.py b/lib/ansible/modules/network/aci/aci_config_snapshot.py index 7b9e03d946..41823862fe 100644 --- a/lib/ansible/modules/network/aci/aci_config_snapshot.py +++ b/lib/ansible/modules/network/aci/aci_config_snapshot.py @@ -192,7 +192,7 @@ def main(): subclass_1=dict( aci_class='configSnapshot', aci_rn='snapshot-{0}'.format(snapshot), - filter_target='(configSnapshot.name, "{0}")'.format(snapshot), + filter_target='eq(configSnapshot.name, "{0}")'.format(snapshot), module_object=snapshot, ), )