cloudstack: make facts run in check mode
This commit is contained in:
parent
c16b1844a9
commit
e2914a45e1
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue