Merge pull request #2294 from mmoya/bug-fixes

file module should check invalid arguments (fixes #2135)
This commit is contained in:
Michael DeHaan 2013-03-10 16:32:02 -07:00
commit 7bbbd091c2

1
file
View file

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