mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1005 from OrFriedmann/fix-ubuntu-apt-nfs-ganesha
Fix ubuntu apt nfs ganeshapull/963/merge
commit
b906693762
|
@ -46,7 +46,11 @@
|
||||||
|
|
||||||
- name: add gluster nfs ganesha repo
|
- name: add gluster nfs ganesha repo
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "ppa:gluster/nfs-ganesha"
|
repo: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
with_items:
|
||||||
|
- ppa:gluster/libntirpc
|
||||||
|
- ppa:gluster/nfs-ganesha
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: nfs_obj_gw or nfs_file_gw
|
when: nfs_obj_gw or nfs_file_gw
|
||||||
|
|
||||||
|
|
|
@ -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 ''}}"
|
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
|
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:
|
apt:
|
||||||
pkg: nfs-ganesha
|
pkg: nfs-ganesha
|
||||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||||
|
|
Loading…
Reference in New Issue