1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

make parameter required

This commit is contained in:
Michael DeHaan 2012-08-30 19:09:02 -04:00
parent 4da4c31dfb
commit 092bd8e3da

View file

@ -101,7 +101,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
policy=dict(required=True), 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') configfile=dict(aliases=['conf','file'], default='/etc/selinux/config')
) )
) )