summaryrefslogtreecommitdiffstats
path: root/bin/ansible-galaxy
diff options
context:
space:
mode:
authorDaniel Upton <daniel@floppy.co>2015-02-09 14:33:48 +0100
committerDaniel Upton <daniel@floppy.co>2015-02-09 14:33:48 +0100
commit78fb13657aea63802c267fc1e7a3a5c32693383a (patch)
treeb0f9707e0777a6d5baf1023ab29505f771ef1dc3 /bin/ansible-galaxy
parentMerge pull request #10184 from mixpix3ls/ticket-9845 (diff)
downloadansible-78fb13657aea63802c267fc1e7a3a5c32693383a.tar.xz
ansible-78fb13657aea63802c267fc1e7a3a5c32693383a.zip
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