Add retries to apt update in cache proxy task

When apt update was added to the package-cache-proxy.yml task,
the retries and delay fields were omitted.

Change-Id: I8e86b524269e3bf4ba2b5889d51ebf64d86472c8
This commit is contained in:
Kyle L. Henderson 2016-12-16 07:31:44 -06:00
parent 803ceb2148
commit 0fc3285661

View File

@ -33,6 +33,8 @@
- name: Update apt when proxy is added - name: Update apt when proxy is added
apt: apt:
update_cache: yes update_cache: yes
retries: 5
delay: 2
when: when:
- apt_proxy_dropped | changed - apt_proxy_dropped | changed