From: Guillaume Abrioux Date: Tue, 5 Jul 2022 14:00:59 +0000 (+0200) Subject: handler: update ganesha.pid path X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=45ddbedef2ffdee04f35ea90f01a6ea49181cdf5;p=ceph-ansible.git handler: update ganesha.pid path Due to some changes [1] in nfs-ganesha-4, we now have to use `/var/run/ganesha/ganesha.pid` [1] https://github.com/nfs-ganesha/nfs-ganesha/commit/52e15c30d0997c63b72a7187e4271d911609ec13 Signed-off-by: Guillaume Abrioux --- diff --git a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 index b8510bd98..c1571baa4 100644 --- a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 @@ -3,7 +3,7 @@ RETRIES="{{ handler_health_nfs_check_retries }}" DELAY="{{ handler_health_nfs_check_delay }}" NFS_NAME="ceph-nfs@{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" -PID=/var/run/ganesha.pid +PID=/var/run/ganesha/ganesha.pid {% if containerized_deployment | bool %} DOCKER_EXEC="{{ container_binary }} exec ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" {% endif %}