Change state back to a required parameter

This commit is contained in:
Paul Markham 2015-06-29 11:19:36 +10:00
parent 3f395861a0
commit 219ec18b33

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