Merge "Add additional whitespace around "ansible_connection: local""

This commit is contained in:
Zuul 2018-11-01 22:08:43 +00:00 committed by Gerrit Code Review
commit 1278f49114

View File

@ -392,10 +392,10 @@ outputs:
{{ host }}:
ansible_user: {{ hostvars.raw_get(host)['ansible_ssh_user'] | default('root') }}
ansible_host: {{ hostvars.raw_get(host)['ansible_host'] | default(host) }}
ansible_become: true
{% if hostvars.raw_get(host)['ansible_connection'] | default('') == 'local' -%}
{% if hostvars.raw_get(host)['ansible_connection'] | default('') == 'local' -%}
ansible_connection: local
{%- endif %}
{%- endif %}
ansible_become: true
{% endfor -%}
{%- endif -%}