Commit bb39cc1f authored by Alex's avatar Alex
Browse files

Fix missing newline at the end of Environment line

https://jinja.palletsprojects.com/en/2.11.x/templates/#whitespace-control
Adding a "+" did not work, so I moved the statement blocks to separate lines.
parent e73783b4
......@@ -5,7 +5,9 @@ Description=system configuration upgrade
After=network-online.target
[Service]
{% if ansible_pull.vault | length > 0 %}Environment=ANSIBLE_VAULT_IDENTITY_LIST={{ ansible_pull.vault|join(',') }}{% endif %}
{% if ansible_pull.vault | length > 0 %}
Environment=ANSIBLE_VAULT_IDENTITY_LIST={{ ansible_pull.vault|join(',') }}
{% endif %}
ExecStart=/bin/sh -c 'ansible-pull -U "{{ ansible_pull.url }}" -i inventory --diff --checkout "{{ ansible_pull.branch }}"'
TimeoutStopSec=500
Type=oneshot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment