Merge "Add additional whitespace around "ansible_connection: local""
This commit is contained in:
commit
1278f49114
@ -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' -%}
|
||||
ansible_connection: local
|
||||
{%- endif %}
|
||||
ansible_become: true
|
||||
{% endfor -%}
|
||||
|
||||
{%- endif -%}
|
||||
|
Loading…
Reference in New Issue
Block a user