Skip to content

Commit

Permalink
Merge pull request #133 from stackhpc/spec-indent
Browse files Browse the repository at this point in the history
Fix spec indentation in cluster.yml
  • Loading branch information
mnasiadka authored Feb 26, 2024
2 parents 8077e94 + 875af4a commit 1e331e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/cephadm/templates/cluster.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ networks:
{% endif %}
{% endif %}
{% if service.spec is defined %}
spec:
{{ service.spec | to_nice_yaml }}
{{ {"spec": service.spec} | to_nice_yaml(indent=2) }}
{% endif %}
{% endfor %}
{% endif %}
Expand All @@ -72,6 +71,6 @@ service_id: {{ service.id }}
placement:
label: ingress
spec:
{{ service.spec | to_nice_yaml }}
{{ {"spec": service.spec} | to_nice_yaml(indent=2) }}
{% endfor %}
{% endif %}

0 comments on commit 1e331e2

Please sign in to comment.