]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
adds missing state needed to upgrade nfs-ganesha v3.0.33
authorGregory Meno <gmeno@redhat.com>
Wed, 9 May 2018 18:17:26 +0000 (11:17 -0700)
committerSébastien Han <seb@redhat.com>
Thu, 10 May 2018 18:50:32 +0000 (11:50 -0700)
in tasks for os_family Red Hat we were missing this

fixes: bz1575859
Signed-off-by: Gregory Meno <gmeno@redhat.com>
(cherry picked from commit 26f6a650425517216fb57c08e1a8bda39ddcf2b5)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-nfs/tasks/pre_requisite_non_container.yml

index 49f48d9fc8335d6196a2216cf16a337ce5553eff..25aadafc9bbca2bff7e4c6f0f54fb9b557f990cc 100644 (file)
@@ -75,6 +75,7 @@
 - name: install nfs cephfs gateway
   package:
     name: nfs-ganesha-ceph
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
   when:
     - nfs_file_gw
     - ansible_os_family == 'RedHat'
@@ -82,6 +83,7 @@
 - name: install redhat nfs-ganesha-rgw and ceph-radosgw packages
   package:
     name: "{{ item }}"
+    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
   with_items:
     - nfs-ganesha-rgw
     - ceph-radosgw