]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Make sure the restart_mds_daemon script is created with the correct MDS name
authorSimone Caronni <negativo17@gmail.com>
Thu, 5 Apr 2018 14:14:23 +0000 (16:14 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 8 May 2018 18:53:15 +0000 (20:53 +0200)
roles/ceph-defaults/templates/restart_mds_daemon.sh.j2

index f5555064c8840a5f8a5b8d182d834c3517623aef..9945a724cfff9ac6b5c4ef8733ae83aa93d9c0f3 100644 (file)
@@ -2,7 +2,7 @@
 
 RETRIES="{{ handler_health_mds_check_retries }}"
 DELAY="{{ handler_health_mds_check_delay }}"
-MDS_NAME="{{ ansible_hostname }}"
+MDS_NAME="{{ mds_name }}"
 SOCKET=/var/run/ceph/{{ cluster }}-mds.${MDS_NAME}.asok
 {% if containerized_deployment %}
 DOCKER_EXEC="docker exec ceph-mds-{{ ansible_hostname }}"