Merge "Add retries for utility container distro package installs"

This commit is contained in:
Zuul 2018-12-08 02:05:37 +00:00 committed by Gerrit Code Review
commit ab484dd8f1
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@
state: "{{ utility_package_state }}"
update_cache: "{{ (ansible_pkg_mgr in ['apt', 'zypper']) | ternary('yes', omit) }}"
cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}"
register: install_packages
until: install_packages is success
retries: 5
delay: 2
- name: Distribute private ssh key
copy: