On 14.07.2022 11:01, Steven Goodliff wrote:
If i get anywhere with detecting the instance is the active manager handling that in Ansible i will reply back here.
I use this - command: ceph mgr stat register: r - debug: msg={{ (r.stdout | from_json).active_name.split(".")[0] }} This works because the first part of the instance name is the hostname. -- Kai Stian Olstad _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx