file module should check invalid arguments (fixes #2135)

pull/2139/head
Maykel Moya 12 years ago
parent 1784fd80cc
commit ee7f8d018e

@ -136,7 +136,6 @@ def main():
global module
module = AnsibleModule(
check_invalid_arguments = False,
argument_spec = dict(
state = dict(choices=['file','directory','link','absent'], default='file'),
path = dict(aliases=['dest', 'name'], required=True),

Loading…
Cancel
Save