From 26f6a650425517216fb57c08e1a8bda39ddcf2b5 Mon Sep 17 00:00:00 2001 From: Gregory Meno Date: Wed, 9 May 2018 11:17:26 -0700 Subject: [PATCH] adds missing state needed to upgrade nfs-ganesha in tasks for os_family Red Hat we were missing this fixes: bz1575859 Signed-off-by: Gregory Meno --- roles/ceph-nfs/tasks/pre_requisite_non_container.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml index 478698ac2..aa0122aad 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml @@ -90,6 +90,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' @@ -97,6 +98,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