Commit 317728f6 by James Cammarata

Allow ansible-galaxy to install symlinks

parent 7115d379
......@@ -556,7 +556,7 @@ def install_role(role_name, role_version, role_filename, options):
# we only extract files, and remove any relative path
# bits that might be in the file for security purposes
# and drop the leading directory, as mentioned above
if member.isreg():
if member.isreg() or member.issym():
parts = member.name.split("/")[1:]
final_parts = []
for part in parts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment