make parameter required

This commit is contained in:
Michael DeHaan 2012-08-30 19:09:02 -04:00
parent 4826341508
commit a101a532a7

View file

@ -101,7 +101,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
policy=dict(required=True),
state=dict(choices=['enforcing', 'permissive', 'disabled'], default='enforcing'),
state=dict(choices=['enforcing', 'permissive', 'disabled'], required=True),
configfile=dict(aliases=['conf','file'], default='/etc/selinux/config')
)
)