mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-15 13:39:10 -07:00
expand user before calling abspath (#40196)
* expand user before calling abspath * omit expanduser code smell check for volumes
This commit is contained in:
parent
414aae70b1
commit
32c191ee9c
2 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,7 @@ import sys
|
|||
def main():
|
||||
skip = set([
|
||||
# add legitimate uses of expanduser to the following list
|
||||
'lib/ansible/modules/cloud/docker/docker_container.py', # uses colon-separated paths, can't use type=path
|
||||
'lib/ansible/modules/cloud/lxc/lxc_container.py',
|
||||
'lib/ansible/modules/cloud/rackspace/rax_files_objects.py',
|
||||
'lib/ansible/modules/database/mongodb/mongodb_parameter.py',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue