mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 18:23:09 +00:00
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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user