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
e60b2167f5
commit
7c40201c3d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def main():
|
|||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
name = dict(required=True),
|
||||
state = dict(choices=['present','absent'], required=True),
|
||||
state = dict(choices=['present','absent'], default='present'),
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue