Skip to content

Commit

Permalink
Merge pull request #3962 from skazi0/indent-first-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skazi0 authored Dec 21, 2021
2 parents f618d02 + 6e9c5f8 commit 144793d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version: 2

baremetal:
{{ input_model['baremetal'] | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=4, indentfirst=True) }}
{{ input_model['baremetal'] | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=4, first=True) }}

servers:
{{ input_model['servers'] | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=4, indentfirst=True) }}
{{ input_model['servers'] | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=4, first=True) }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

nic-mappings:
{% for nic_mapping in input_model['nic-mappings'] if nic_mapping['name'].startswith('HEAT-') %}
- {{ nic_mapping | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=6, indentfirst=False) }}
- {{ nic_mapping | to_nice_yaml( width=50, explicit_start=False, explicit_end=False) | indent(width=6, first=False) }}
{% endfor %}

0 comments on commit 144793d

Please sign in to comment.