Merge pull request #300 from vortura/locale-fix

Make the state parameter for locale_gen non-mandatory with a default value.
This commit is contained in:
Brian Coca 2015-03-07 20:29:59 -05:00
commit 64989456e0

View file

@ -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
)