mirror of https://github.com/ceph/ceph-ansible.git
ceph-infra: update cache for Ubuntu
Ubuntu-based CI jobs often fail with error code 404 while installing
NTP daemons. Updating cache beforehand should fix the issue.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit d1c266e6c7
)
pull/4105/head
parent
b1a3b6e2f1
commit
34e3b3f0e4
|
@ -1,4 +1,11 @@
|
||||||
---
|
---
|
||||||
|
- name: update cache for Debian based OSs
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
register: result
|
||||||
|
until: result is succeeded
|
||||||
|
|
||||||
- name: include_tasks configure_firewall.yml
|
- name: include_tasks configure_firewall.yml
|
||||||
include_tasks: configure_firewall.yml
|
include_tasks: configure_firewall.yml
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue