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 39f12f9 commit b74ec59Copy full SHA for b74ec59
roles/cephadm/templates/cluster.yml.j2
@@ -14,7 +14,7 @@ labels:
14
{% if host in groups['osds'] %}
15
- osd
16
{% endif %}
17
-{% if host in groups['rgws'] %}
+{% if host in groups.get('rgws', []) %}
18
- rgw
19
20
{% endfor %}
@@ -32,7 +32,7 @@ placement:
32
service_type: crash
33
placement:
34
host_pattern: "*"
35
-{% if groups['rgws'] | length > 0 %}
+{% if groups.get('rgws', []) | length > 0 %}
36
{% for service in cephadm_radosgw_services %}
37
---
38
service_type: rgw
0 commit comments