summaryrefslogtreecommitdiff
path: root/bin/ansible-galaxy
diff options
context:
space:
mode:
authorDaniel Upton <daniel@floppy.co>2015-02-09 13:33:48 +0000
committerDaniel Upton <daniel@floppy.co>2015-02-09 13:33:48 +0000
commit78fb13657aea63802c267fc1e7a3a5c32693383a (patch)
treeb0f9707e0777a6d5baf1023ab29505f771ef1dc3 /bin/ansible-galaxy
parent853733c1cdbf5da10e7a3590eead003290cdb835 (diff)
downloadansible-78fb13657aea63802c267fc1e7a3a5c32693383a.tar.gz
Ignore errors from `shutil.rmtree` when removing temporary directory
Diffstat (limited to 'bin/ansible-galaxy')
-rwxr-xr-xbin/ansible-galaxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy
index 5fd92dde2c..00bb8d12dd 100755
--- a/bin/ansible-galaxy
+++ b/bin/ansible-galaxy
@@ -380,7 +380,7 @@ def scm_archive_role(scm, role_url, role_version, role_name):
print " in directory %s" % tempdir
return False
- shutil.rmtree(tempdir)
+ shutil.rmtree(tempdir, ignore_errors=True)
return temp_file.name