Skip to content

Commit 537edb5

Browse files
authored
Fix indentfirst to be compatible with jinja 3.0.x (#63)
* Fix indentfirst to be compatible with jinja 3.0.x * Remove first/indentfirst as it is now the default
1 parent 314dcde commit 537edb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inventory-generation/notifications/templates/list-of-users.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
full:
44
list_of_users:
55
{% for user in engagement_users | default([]) %}
6-
{% filter indent(width=6, indentfirst=False) %}
6+
{% filter indent(width=6) %}
77
- {{ user | to_nice_yaml }}
88
{%- endfilter %}
99
{%- endfor %}
1010

1111
internal:
1212
list_of_users:
1313
{% for user in engagement_users | default([]) %}
14-
{% filter indent(width=6, indentfirst=False) %}
14+
{% filter indent(width=6) %}
1515
{% if 'redhat.com' in user.email %}
1616
- {{ user | to_nice_yaml }}
1717
{% endif %}

0 commit comments

Comments
 (0)