mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Port arg specs from type='str' to type='path'
This commit is contained in:
parent
dc69af50dc
commit
75eed6a51a
12 changed files with 27 additions and 40 deletions
|
@ -148,7 +148,6 @@ def main():
|
|||
# Create type object as namespace for module params
|
||||
p = type('Params', (), module.params)
|
||||
|
||||
p.src = os.path.expanduser(p.src)
|
||||
if not os.access(p.src, os.R_OK):
|
||||
module.fail_json(msg="src %s doesn't exist or not readable" % (p.src))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue