Set default for locale_gen state parameter
Fix the state parameter for the locale_gen module to be non-mandatory with a default value of 'present', as indicated by the module documentation.
This commit is contained in:
parent
1e21e34e0f
commit
e6bf26967c
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
name = dict(required=True),
|
name = dict(required=True),
|
||||||
state = dict(choices=['present','absent'], required=True),
|
state = dict(choices=['present','absent'], default='present'),
|
||||||
),
|
),
|
||||||
supports_check_mode=True
|
supports_check_mode=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue