Skip to content

Commit ab3ed98

Browse files
committed
Ensure monitor nodes have the keyring in place
As per documentation: https://docs.ceph.com/en/latest/cephadm/install/#running-the-bootstrap-command https://docs.ceph.com/en/latest/cephadm/install/#adding-hosts Nodes that have '_admin' label applied in spec will have the admin keyring present in /etc/ceph.
1 parent 1184f89 commit ab3ed98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/cephadm/templates/cluster.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ service_type: host
44
hostname: {{ hostvars[host]['ansible_hostname'] }}
55
labels:
66
{% if host in groups['mons'] %}
7+
- _admin
78
- mon
89
{% endif %}
910
{% if host in groups['mgrs'] %}

0 commit comments

Comments
 (0)