From 84d96be197617ff8cdf8141e4a52657f172b2809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 24 Apr 2017 11:04:06 +0200 Subject: [PATCH] mon: upgrade calamari when running rolling_update playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior to this change, ansible was only checking for the existence of the package, now if upgrade_ceph_packages is true this means we are performing an upgrade. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1442016 Signed-off-by: Sébastien Han --- roles/ceph-mon/tasks/calamari.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-mon/tasks/calamari.yml b/roles/ceph-mon/tasks/calamari.yml index 14d9f0542..4e2e9e667 100644 --- a/roles/ceph-mon/tasks/calamari.yml +++ b/roles/ceph-mon/tasks/calamari.yml @@ -2,7 +2,7 @@ - name: install calamari server package: name: calamari-server - state: present + state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" tags: - package-install