mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-24 04:39:15 +00:00
[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 commit7da2c16b4a) * Also fix modules removed in 3.0.0. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> (cherry picked from commit0fda418702) * Fix some more modules.
This commit is contained in:
parent
5cba378c75
commit
5336872b3e
54 changed files with 146 additions and 54 deletions
|
|
@ -110,7 +110,8 @@ def main():
|
|||
module = UTMModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='str', required=True)
|
||||
)
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
try:
|
||||
UTM(module, endpoint, key_to_check_for_changes, info_only=True).execute()
|
||||
|
|
|
|||
|
|
@ -88,7 +88,8 @@ def main():
|
|||
module = UTMModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='str', required=True)
|
||||
)
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
try:
|
||||
# This is needed because the bool value only accepts int values in the backend
|
||||
|
|
|
|||
|
|
@ -84,7 +84,8 @@ def main():
|
|||
module = UTMModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='str', required=True)
|
||||
)
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
try:
|
||||
UTM(module, endpoint, key_to_check_for_changes, info_only=True).execute()
|
||||
|
|
|
|||
|
|
@ -128,8 +128,9 @@ def main():
|
|||
key_to_check_for_changes = []
|
||||
module = UTMModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='str', required=True)
|
||||
)
|
||||
name=dict(type='str', required=True),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
try:
|
||||
UTM(module, endpoint, key_to_check_for_changes, info_only=True).execute()
|
||||
|
|
|
|||
|
|
@ -109,8 +109,9 @@ def main():
|
|||
key_to_check_for_changes = []
|
||||
module = UTMModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='str', required=True)
|
||||
)
|
||||
name=dict(type='str', required=True),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
try:
|
||||
UTM(module, endpoint, key_to_check_for_changes, info_only=True).execute()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue