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
Rishabh Dave 2019-06-13 13:36:00 +05:30 committed by Dimitri Savineau
parent b1a3b6e2f1
commit 34e3b3f0e4
1 changed files with 7 additions and 0 deletions

View File

@ -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
include_tasks: configure_firewall.yml
when: