mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
file module should check invalid arguments (fixes #2135)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user