Merge pull request #1005 from OrFriedmann/fix-ubuntu-apt-nfs-ganesha

Fix ubuntu apt nfs ganesha
pull/963/merge
Leseb 2016-10-05 17:22:57 +02:00 committed by GitHub
commit b906693762
2 changed files with 13 additions and 2 deletions

View File

@ -46,7 +46,11 @@
- name: add gluster nfs ganesha repo
apt_repository:
repo: "ppa:gluster/nfs-ganesha"
repo: "{{ item }}"
state: present
with_items:
- ppa:gluster/libntirpc
- ppa:gluster/nfs-ganesha
changed_when: false
when: nfs_obj_gw or nfs_file_gw

View File

@ -39,7 +39,14 @@
default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
when: mds_group_name in group_names
- name: install NFS gateway
- name: install jemalloc
apt:
pkg: libjemalloc1
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
update_cache: yes
when: nfs_group_name in group_names
- name: install NFS gateway
apt:
pkg: nfs-ganesha
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"