mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Allow ansible-galaxy to install symlinks
This commit is contained in:
parent
7115d37933
commit
317728f649
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ def install_role(role_name, role_version, role_filename, options):
|
||||||
# we only extract files, and remove any relative path
|
# we only extract files, and remove any relative path
|
||||||
# bits that might be in the file for security purposes
|
# bits that might be in the file for security purposes
|
||||||
# and drop the leading directory, as mentioned above
|
# and drop the leading directory, as mentioned above
|
||||||
if member.isreg():
|
if member.isreg() or member.issym():
|
||||||
parts = member.name.split("/")[1:]
|
parts = member.name.split("/")[1:]
|
||||||
final_parts = []
|
final_parts = []
|
||||||
for part in parts:
|
for part in parts:
|
||||||
|
|
Loading…
Reference in a new issue