From 8753fe433d3bff596db6a4c344c77908f604da24 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit in tasks for os_family Red Hat we were missing this fixes: bz1575859 Signed-off-by: Gregory Meno (cherry picked from commit 26f6a650425517216fb57c08e1a8bda39ddcf2b5) Signed-off-by: Sébastien Han --- 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 49f48d9fc..25aadafc9 100644 --- a/roles/ceph-nfs/tasks/pre_requisite_non_container.yml +++ b/roles/ceph-nfs/tasks/pre_requisite_non_container.yml @@ -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 -- 2.39.5