apt_repository: Fix crash caused by cache.update() raising an IOError on timeout. (#51996)

* Fix crash caused by cache.update() raising an IOError on timeout.

* Add changelog fragment.
This commit is contained in:
Kevin Backhouse
2019-05-29 20:59:51 +01:00
committed by ansibot
parent c47e9d22b4
commit 79bb7bde5f
2 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- apt_repository - Fix crash caused by ``cache.update()`` raising an ``IOError`` due to a timeout in ``apt update`` (https://github.com/ansible/ansible/issues/51995)