[TEST] Test setting up correct systemd file for nfs-ganesha

Don't merge this.
Test to see if we copy over the nfs-ganesha-lock.service.debian8 file
properly, whether the Xenial CI job will work.

The upstream download.ceph.com nfs-ganesha package should be fixed for
xenial (which is in progress).
pull/2408/head
Andy McCrae 2018-02-19 17:23:32 +00:00 committed by Guillaume Abrioux
parent c04e67347c
commit e88af3c4cb
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@
notify:
- restart ceph nfss
- name: copy over nfs-ganesha-lock.service file
shell: "cp /lib/systemd/system/nfs-ganesha-lock.service.debian8 /lib/systemd/system/nfs-ganesha-lock.service"
when:
- ansible_distribution == 'Ubuntu'
- not containerized_deployment
- ceph_nfs_enable_service
- name: systemd start nfs container
systemd:
name: ceph-nfs@{{ ceph_nfs_service_suffix | default(ansible_hostname) }}