Skip to content

Commit d43e3d3

Browse files
committed
Fix cluster.yml when rgw is not deployed
The YAML doc separator should only be included if a service is to be added.
1 parent ba644f1 commit d43e3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cephadm/templates/cluster.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ placement:
2828
service_type: crash
2929
placement:
3030
host_pattern: "*"
31-
---
3231
{% if groups['rgws'] | length > 0 %}
3332
{% for service in cephadm_radosgw_services %}
33+
---
3434
service_type: rgw
3535
service_id: {{ service.id }}
3636
placement:

0 commit comments

Comments
 (0)