diff --git a/library/file b/library/file index 8091e4d7f55..107bd7cc56d 100644 --- a/library/file +++ b/library/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),