summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2018-01-20 22:49:59 +0100
committerGitHub <noreply@github.com>2018-01-20 22:49:59 +0100
commit4b8e76747ee164ebce0cd92b0d3752e848ce0734 (patch)
tree2481e282952e74ec1972a224aadb3b7c41a5dac9
parent192c0dc9d16458255102ce13d1707d8285defe12 (diff)
downloadansible-4b8e76747ee164ebce0cd92b0d3752e848ce0734.tar.gz
aci_config_snapshot: Fix bug with filter_target (#35141)
-rw-r--r--lib/ansible/modules/network/aci/aci_config_snapshot.py2
1 files changed, 1 insertions, 1 deletions
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,
),
)