From: Guillaume Abrioux Date: Thu, 24 Oct 2019 09:08:27 +0000 (+0200) Subject: mon: call mon_status from asok X-Git-Tag: v5.0.0alpha1~18 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3d28773da53416c21961f0b1aaccca89050e4add;p=ceph-ansible.git mon: call mon_status from asok since c09b82a80a392ccd0da7677c7b424ce5cd3fa5d6 in ceph/ceph we must call mon_status from asok instead. Signed-off-by: Guillaume Abrioux --- diff --git a/roles/ceph-mon/tasks/ceph_keys.yml b/roles/ceph-mon/tasks/ceph_keys.yml index d824435fe..afcb6ecca 100644 --- a/roles/ceph-mon/tasks/ceph_keys.yml +++ b/roles/ceph-mon/tasks/ceph_keys.yml @@ -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