]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
[TEST] Test setting up correct systemd file for nfs-ganesha
authorAndy McCrae <andy.mccrae@gmail.com>
Mon, 19 Feb 2018 17:23:32 +0000 (17:23 +0000)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 20 Feb 2018 09:49:37 +0000 (10:49 +0100)
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).

roles/ceph-nfs/tasks/start_nfs.yml

index bfd3266e46114b3e1282c881df2308378a4467f5..c0dc25945174148953aaab5dd3d62a7191f10064 100644 (file)
   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) }}