]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon: upgrade calamari when running rolling_update playbook 1466/head
authorSébastien Han <seb@redhat.com>
Mon, 24 Apr 2017 09:04:06 +0000 (11:04 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 24 Apr 2017 09:05:13 +0000 (11:05 +0200)
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 <seb@redhat.com>
roles/ceph-mon/tasks/calamari.yml

index 14d9f05426d9953c04fff119072057c268b89b83..4e2e9e6674a1a5d0891c2e6b3436309ba36c3c48 100644 (file)
@@ -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