From: Sébastien Han Date: Mon, 24 Apr 2017 09:04:06 +0000 (+0200) Subject: mon: upgrade calamari when running rolling_update playbook X-Git-Tag: v2.3.0rc1~39^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=84d96be197617ff8cdf8141e4a52657f172b2809;p=ceph-ansible.git mon: upgrade calamari when running rolling_update playbook 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 --- 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