Re: cephadm host maintenance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux