]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon: call mon_status from asok
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 24 Oct 2019 09:08:27 +0000 (11:08 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 24 Oct 2019 14:19:16 +0000 (10:19 -0400)
since c09b82a80a392ccd0da7677c7b424ce5cd3fa5d6 in ceph/ceph we must call
mon_status from asok instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mon/tasks/ceph_keys.yml

index d824435fe8b64cfcf28de1e9455470278a6187eb..afcb6ecca4482d6d0b829e948eb54b9ec16af301 100644 (file)
@@ -4,8 +4,7 @@
     {{ container_exec_cmd }}
     ceph
     --cluster {{ cluster }}
-    -n mon.
-    -k /var/lib/ceph/mon/{{ cluster }}-{{ ansible_hostname }}/keyring
+    daemon mon.{{ ansible_hostname }}
     mon_status
     --format json
   register: ceph_health_raw