summaryrefslogtreecommitdiff
path: root/bin/ansible-galaxy
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2014-09-15 14:45:57 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2014-09-15 14:45:57 -0700
commitc6b26ff7c79cd73c98b161022044f3678ab7378d (patch)
tree3ca5ce367bbf97b6ceae4af7a16ad2bca09b8bb5 /bin/ansible-galaxy
parent1e68041f9c549477d11fabc96b476283f909a014 (diff)
downloadansible-c6b26ff7c79cd73c98b161022044f3678ab7378d.tar.gz
Remove duplicate call to remove tmp role file
Diffstat (limited to 'bin/ansible-galaxy')
-rwxr-xr-xbin/ansible-galaxy2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy
index 81be7b111a..95d7453e05 100755
--- a/bin/ansible-galaxy
+++ b/bin/ansible-galaxy
@@ -810,8 +810,6 @@ def execute_install(args, options, parser):
else:
print '- dependency %s is already installed, skipping.' % dep["name"]
if not tmp_file or not installed:
- if tmp_file and installed:
- os.unlink(tmp_file)
print "- %s was NOT installed successfully." % role.get("name")
exit_without_ignore(options)
sys.exit(0)