mirror of https://github.com/ceph/ceph-ansible.git
Drop a update-motd.d fragment for monitors so when the user/admin logs into a monitor there is a small notice for the user about the state of the ceph cluster. Works only on ubuntu for now
parent
e6c162167c
commit
c3480a588c
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo -n "Ceph state is: "
|
||||
/usr/bin/ceph health
|
||||
echo ""
|
|
@ -40,3 +40,7 @@
|
|||
- /var/lib/ceph/bootstrap-osd/ceph.keyring # this handles the non-colocation case
|
||||
- /var/lib/ceph/bootstrap-mds/ceph.keyring
|
||||
- /etc/ceph/keyring.radosgw.gateway
|
||||
|
||||
- name: Drop in a motd script to report status when logging in
|
||||
copy: src=precise/92-ceph dest=/etc/update-motd.d/92-ceph owner=root group=root mode=0755
|
||||
when: ansible_distribution_release == 'precise'
|
||||
|
|
Loading…
Reference in New Issue