From 516e18f4b835376d30d80ddaf504b59646bd7d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= <mail@renemoser.net> Date: Mon, 21 May 2018 17:16:44 +0200 Subject: [PATCH] cloudstack: fix query tags by resourceid (#40482) --- lib/ansible/module_utils/cloudstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index b6049573258..4ef54874533 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -546,7 +546,7 @@ class AnsibleCloudStack: def query_tags(self, resource, resource_type): args = { - 'resourceids': resource['id'], + 'resourceid': resource['id'], 'resourcetype': resource_type, } tags = self.query_api('listTags', **args)