make parameter required

pull/971/merge
Michael DeHaan 12 years ago
parent 4da4c31dfb
commit 092bd8e3da

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

Loading…
Cancel
Save