Make is so that the params param truly isn't required (fix for #3860)
This commit is contained in:
parent
0fe99f20d9
commit
91e433594a
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ def main():
|
||||||
immediate = module.params.get('immediate') or False
|
immediate = module.params.get('immediate') or False
|
||||||
|
|
||||||
if state == 'present':
|
if state == 'present':
|
||||||
for required in ['name', 'description', 'engine', 'params']:
|
for required in ['name', 'description', 'engine']:
|
||||||
if not module.params.get(required):
|
if not module.params.get(required):
|
||||||
module.fail_json(msg = str("Parameter %s required for state='present'" % required))
|
module.fail_json(msg = str("Parameter %s required for state='present'" % required))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue