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

Change state back to a required parameter

This commit is contained in:
Paul Markham 2015-06-29 11:19:36 +10:00 committed by Matt Clay
parent 240a559a2d
commit 3610cf244e

View file

@ -322,7 +322,7 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict( argument_spec = dict(
name = dict(required=True), name = dict(required=True),
state = dict(default=None, choices=['running', 'started', 'present', 'stopped', 'absent']), state = dict(required=True, choices=['running', 'started', 'present', 'stopped', 'absent']),
path = dict(defalt=None), path = dict(defalt=None),
sparse = dict(default=False, type='bool'), sparse = dict(default=False, type='bool'),
root_password = dict(default=None), root_password = dict(default=None),