From bf57efaf3cf198f0e84c56988ae35ef055fe9ae3 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Mon, 13 Mar 2017 09:34:35 -0600 Subject: [PATCH] ceph-common: install nfs-ganesha FSALs on Debian Prior to this change, ceph-ansible would install the main NFS Ganesha server daemon on Ubuntu, but it would skip the Ceph FSALs. Running "apt-get install nfs-ganesha" will only install the main NFS Ganesha server. It does *not* pull in the RGW FSAL (/usr/lib/x86_64-linux-gnu/ganesha/libfsalrgw.so) Running "apt-get install nfs-ganesha-fsal" will install the RGW FSAL as well as the main NFS Ganesha server package. Signed-off-by: Ken Dreyer --- roles/ceph-common/tasks/installs/install_on_debian.yml | 2 +- .../ceph-common/tasks/installs/install_rh_storage_on_debian.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ceph-common/tasks/installs/install_on_debian.yml b/roles/ceph-common/tasks/installs/install_on_debian.yml index 0f8648216..c6ab701ac 100644 --- a/roles/ceph-common/tasks/installs/install_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_on_debian.yml @@ -53,7 +53,7 @@ - name: install NFS gateway apt: - pkg: nfs-ganesha + pkg: nfs-ganesha-fsal state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" update_cache: yes when: nfs_group_name in group_names diff --git a/roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml b/roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml index 26a0c1825..1551638f3 100644 --- a/roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml +++ b/roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml @@ -87,6 +87,6 @@ - name: install red hat storage nfs gateway apt: - name: nfs-ganesha + name: nfs-ganesha-fsal state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" when: nfs_group_name in group_names