cloudstack: make facts run in check mode

This commit is contained in:
Rene Moser 2017-07-26 11:23:09 +02:00 committed by René Moser
parent c16b1844a9
commit e2914a45e1
3 changed files with 3 additions and 3 deletions

View file

@ -227,7 +227,7 @@ def main():
]), ]),
meta_data_host=dict(), meta_data_host=dict(),
), ),
supports_check_mode=False supports_check_mode=True
) )
if not HAS_LIB_YAML: if not HAS_LIB_YAML:

View file

@ -289,7 +289,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=argument_spec, argument_spec=argument_spec,
supports_check_mode=False, supports_check_mode=True,
) )
cs_instance_facts = AnsibleCloudStackInstanceFacts(module=module).run() cs_instance_facts = AnsibleCloudStackInstanceFacts(module=module).run()

View file

@ -193,7 +193,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=argument_spec, argument_spec=argument_spec,
supports_check_mode=False, supports_check_mode=True,
) )
cs_zone_facts = AnsibleCloudStackZoneFacts(module=module).run() cs_zone_facts = AnsibleCloudStackZoneFacts(module=module).run()