Skip to content

Commit

Permalink
Allow ansible-galaxy to install symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi-c committed Mar 23, 2015
1 parent 7115d37 commit 317728f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ansible-galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 317728f

Please sign in to comment.