add check mode to hotpot module

This commit is contained in:
Valentin Gurmeza 2017-06-01 16:43:57 -07:00
parent a2b454cd8c
commit 7ce1cae7ad
2 changed files with 33 additions and 7 deletions

View file

@ -72,7 +72,8 @@ def main():
choices = ['present', 'absent'],
type = 'str'
),
)
),
supports_check_mode=True
)
idempotent_parameter = None
@ -94,6 +95,7 @@ def main():
desired_params = params['settings'],
idempotent_param = idempotent_parameter,
api_path = '/ip/' + str(params['parameter']),
check_mode = module.check_mode,
)