From 6adab85df2d3b51ff3825d2ef1eb0419fe9894f1 Mon Sep 17 00:00:00 2001 From: Simon Weald Date: Mon, 17 Oct 2016 15:37:26 +0100 Subject: [PATCH] forced an apt-get update prior to installing any packages from Ceph repos --- roles/ceph-common/tasks/installs/install_on_debian.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-common/tasks/installs/install_on_debian.yml b/roles/ceph-common/tasks/installs/install_on_debian.yml index d2f8ae49b..1f0ceeda3 100644 --- a/roles/ceph-common/tasks/installs/install_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_on_debian.yml @@ -14,6 +14,7 @@ - name: install ceph apt: name: "{{ item }}" + update_cache: yes state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}" with_items: "{{debian_ceph_packages}}"