2019-11-01 15:59:24 +08:00
|
|
|
[Global]
|
|
|
|
auth-url="{{ cinder_auth_url }}"
|
|
|
|
username="{{ cinder_username }}"
|
|
|
|
password="{{ cinder_password }}"
|
|
|
|
region="{{ cinder_region }}"
|
2020-02-17 17:49:28 +08:00
|
|
|
{% if cinder_tenant_id is defined and cinder_tenant_id != "" %}
|
2019-11-01 15:59:24 +08:00
|
|
|
tenant-id="{{ cinder_tenant_id }}"
|
|
|
|
{% endif %}
|
|
|
|
{% if cinder_tenant_name is defined and cinder_tenant_name != "" %}
|
|
|
|
tenant-name="{{ cinder_tenant_name }}"
|
|
|
|
{% endif %}
|
|
|
|
{% if cinder_domain_name is defined and cinder_domain_name != "" %}
|
|
|
|
domain-name="{{ cinder_domain_name }}"
|
|
|
|
{% elif cinder_domain_id is defined and cinder_domain_id != "" %}
|
|
|
|
domain-id ="{{ cinder_domain_id }}"
|
|
|
|
{% endif %}
|
|
|
|
{% if cinder_cacert is defined and cinder_cacert != "" %}
|
|
|
|
ca-file="{{ kube_config_dir }}/cinder-cacert.pem"
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
[BlockStorage]
|
|
|
|
{% if cinder_blockstorage_version is defined %}
|
|
|
|
bs-version={{ cinder_blockstorage_version }}
|
|
|
|
{% endif %}
|