diff --git a/roles/ceph-nfs/tasks/start_nfs.yml b/roles/ceph-nfs/tasks/start_nfs.yml index bfd3266e4..c0dc25945 100644 --- a/roles/ceph-nfs/tasks/start_nfs.yml +++ b/roles/ceph-nfs/tasks/start_nfs.yml @@ -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) }}