
in Pike keystoneauth got a proper 'none' auth plugin, let's use it in the generated clouds.yaml file. Change-Id: I3e4e7f800f52406003620f7fb587290be77a6a3f
21 lines
720 B
Django/Jinja
21 lines
720 B
Django/Jinja
# WARNING: This file is managed by bifrost.
|
|
clouds:
|
|
{% if (enable_keystone | default(false) | bool) %}
|
|
{% for cloud in clouds | default({}) | dictsort %}
|
|
{{ cloud.0 }}:
|
|
region_name: {{ cloud.1.config_region_name }}
|
|
auth:
|
|
username: {{ cloud.1.config_username }}
|
|
password: {{ cloud.1.config_password }}
|
|
project_name: {{ cloud.1.config_project_name }}
|
|
auth_url: {{ cloud.1.config_auth_url }}
|
|
project_domain_id: "{{ cloud.1.config_project_domain_id | default('default') }}"
|
|
user_domain_id: "{{ cloud.1.config_user_domain_id | default('default') }}"
|
|
identity_api_version: "3"
|
|
{% endfor %}
|
|
{% else %}
|
|
bifrost:
|
|
auth_type: "none"
|
|
url: {{ ironic_api_url }}
|
|
{% endif %}
|