Merge "Improve support for deploying ceph on standalone system"

This commit is contained in:
Zuul 2018-10-18 07:24:03 +00:00 committed by Gerrit Code Review
commit a6cf9b8b14
1 changed files with 3 additions and 0 deletions

View File

@ -393,6 +393,9 @@ outputs:
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 -%}
{% endif -%}
{% endif -%}
{%- endfor -%}