diff --git a/roles/ceph-infra/tasks/main.yml b/roles/ceph-infra/tasks/main.yml index bbd3a84de..18d8aaf97 100644 --- a/roles/ceph-infra/tasks/main.yml +++ b/roles/ceph-infra/tasks/main.yml @@ -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: