From 317728f64955f0d38da014fd7e48cba97883b646 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 23 Mar 2015 09:20:27 -0500 Subject: [PATCH] Allow ansible-galaxy to install symlinks --- bin/ansible-galaxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index f281bf97ae8..a6d625671ec 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -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: