mirror of https://github.com/ansible/ansible.git
* module_common - handle cache directory creation collision
Occasionally multiple workers can try to create the cache directory if it exists. Catch the exception
and handle it.
* Just re-raise if it doesn't exist rather than trying again
* Use exists_ok rather than handling an exception
* Remove unused import and unused variable
* Go back to try/except but with OSError
Since we do not have split controller remote, this needs to be able to run in Python 2 in order
to be merged currently.
(cherry picked from commit 16a74b798c)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/75239/head
parent
1f4d1dfa0b
commit
420527bebf
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- module_common - handle exception when multiple workers try to create the cache directory
|
||||
Loading…
Reference in New Issue