The logic which previously implemented a check for v3 in the endpoint does not work with versionless endpoints. As versionless endpoints are likely to be more common, and the v3 auth protocol is now the defult and the norm, the check is now done for a v2 endpoint instead. Related-Bug: #1688320 Change-Id: If4818e6220aba921890e647cfb21e078bb254821
19 lines
599 B
Django/Jinja
19 lines
599 B
Django/Jinja
# {{ ansible_managed }}
|
|
clouds:
|
|
default:
|
|
auth:
|
|
auth_url: {{ openrc_os_auth_url }}
|
|
project_name: {{ openrc_os_tenant_name }}
|
|
tenant_name: {{ openrc_os_tenant_name }}
|
|
username: {{ openrc_os_username }}
|
|
password: {{ openrc_os_password }}
|
|
user_domain_name: {{ openrc_os_domain_name }}
|
|
project_domain_name: {{ openrc_os_domain_name }}
|
|
region_name: {{ openrc_region_name }}
|
|
interface: {{ openrc_clouds_yml_interface }}
|
|
{% if openrc_os_auth_url.endswith('v2.0') %}
|
|
identity_api_version: "2.0"
|
|
{% else %}
|
|
identity_api_version: "3"
|
|
{% endif %}
|