Commit ee7f8d01 by Maykel Moya

file module should check invalid arguments (fixes #2135)

parent 1784fd80
...@@ -136,7 +136,6 @@ def main(): ...@@ -136,7 +136,6 @@ def main():
global module global module
module = AnsibleModule( module = AnsibleModule(
check_invalid_arguments = False,
argument_spec = dict( argument_spec = dict(
state = dict(choices=['file','directory','link','absent'], default='file'), state = dict(choices=['file','directory','link','absent'], default='file'),
path = dict(aliases=['dest', 'name'], required=True), path = dict(aliases=['dest', 'name'], required=True),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment