Merge "Improve support for deploying ceph on standalone system"
This commit is contained in:
commit
a6cf9b8b14
|
@ -393,6 +393,9 @@ outputs:
|
||||||
ansible_user: {{ hostvars.raw_get(host)['ansible_ssh_user'] | default('root') }}
|
ansible_user: {{ hostvars.raw_get(host)['ansible_ssh_user'] | default('root') }}
|
||||||
ansible_host: {{ hostvars.raw_get(host)['ansible_host'] | default(host) }}
|
ansible_host: {{ hostvars.raw_get(host)['ansible_host'] | default(host) }}
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
|
{% if hostvars.raw_get(host)['ansible_connection'] | default('') == 'local' -%}
|
||||||
|
ansible_connection: local
|
||||||
|
{% endif -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
Loading…
Reference in New Issue