We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3128a commit ae12630Copy full SHA for ae12630
templates/cluster.yml.j2
@@ -1,3 +1,18 @@
1
+{% for host in groups['ceph'] %}
2
+---
3
+service_type: host
4
+hostname: {{ host }}
5
+labels:
6
+{% if host in groups['mons'] %}
7
+- mon
8
+{% endif %}
9
+{% if host in groups['mgrs'] %}
10
+- mgr
11
12
+{% if host in groups['osds'] %}
13
+- osd
14
15
+{% endfor %}
16
---
17
service_type: mon
18
placement:
@@ -10,18 +25,3 @@ placement:
25
service_type: crash
26
27
host_pattern: "*"
-{% for host in groups['mons'] %}
----
-service_type: host
-hostname: {{ host }}
-labels:
-- mon
19
-- mgr
20
-{% endfor %}
21
-{% for host in groups['osds'] %}
22
23
24
-- osd
0 commit comments