The gluster/nfs-ganesha PPA does not contain any nfs-ganesha builds
with the Ceph FSAL enabled, so adding that PPA is fairly useless.
Set the correct PPA (gluster/nfs-ganesha-2.5), and also correct the
PPA name for libntirpc.
Finally, install the correct package (nfs-ganesha-ceph not
nfs-ganesha-fsal).
Fixes #1905.
repo: "{{ item }}"
state: present
with_items:
- - ppa:gluster/libntirpc
- - ppa:gluster/nfs-ganesha
+ - ppa:gluster/libntirpc-1.5
+ - ppa:gluster/nfs-ganesha-2.5
changed_when: false
when:
- (nfs_obj_gw or nfs_file_gw)
- name: install NFS gateway
apt:
- pkg: nfs-ganesha-fsal
+ pkg: nfs-ganesha-ceph
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
update_cache: yes
when: nfs_group_name in group_names