[stable-1] added supports_check_mode=True to info/facts modules (#3101)

* [stable-2] added supports_check_mode=True to info/facts modules (#3095)

* added supports_check_mode=True to info/facts modules (#3084)

* added supports_check_mode=True to info/facts modules

* added changelog fragment

* rolled back vertica_info

* rolled back utm_proxy_*_info

* updated changelog fragment with latest adjustments

* Update changelogs/fragments/3084-info-checkmode.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* added check mode to xenserver_facts + oneview_*_info

* added check mode to utm_proxy_*_info

* updated changelog

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 7da2c16b4a)

* Also fix modules removed in 3.0.0.

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 0fda418702)

* Fix some more modules.
This commit is contained in:
Felix Fontein 2021-07-28 09:59:36 +02:00 committed by GitHub
parent 5cba378c75
commit 5336872b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 146 additions and 54 deletions

View file

@ -56,7 +56,7 @@ def main():
module = AnsibleModule(
argument_spec={
},
supports_check_mode=False
supports_check_mode=True
)
rc, out, err = docker_stack_list(module)

View file

@ -65,7 +65,7 @@ def main():
argument_spec={
'name': dict(type='str', required=True)
},
supports_check_mode=False
supports_check_mode=True
)
name = module.params['name']