From e2914a45e159e489dacb5fb64605788e2ed78ef7 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Wed, 26 Jul 2017 11:23:09 +0200 Subject: [PATCH] cloudstack: make facts run in check mode --- lib/ansible/modules/cloud/cloudstack/cs_facts.py | 2 +- lib/ansible/modules/cloud/cloudstack/cs_instance_facts.py | 2 +- lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/cloud/cloudstack/cs_facts.py b/lib/ansible/modules/cloud/cloudstack/cs_facts.py index 5320903a12c..cfa7874bc7a 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_facts.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_facts.py @@ -227,7 +227,7 @@ def main(): ]), meta_data_host=dict(), ), - supports_check_mode=False + supports_check_mode=True ) if not HAS_LIB_YAML: diff --git a/lib/ansible/modules/cloud/cloudstack/cs_instance_facts.py b/lib/ansible/modules/cloud/cloudstack/cs_instance_facts.py index ecae30cc202..fd83e199186 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_instance_facts.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_instance_facts.py @@ -289,7 +289,7 @@ def main(): module = AnsibleModule( argument_spec=argument_spec, - supports_check_mode=False, + supports_check_mode=True, ) cs_instance_facts = AnsibleCloudStackInstanceFacts(module=module).run() diff --git a/lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py b/lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py index 989daca4f95..c748fb74931 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_zone_facts.py @@ -193,7 +193,7 @@ def main(): module = AnsibleModule( argument_spec=argument_spec, - supports_check_mode=False, + supports_check_mode=True, ) cs_zone_facts = AnsibleCloudStackZoneFacts(module=module).run()