Add keystone_authtoken macros
Change-Id: Icd3a2276097a52e77a31cb7eeeffb2d5bca8492b
This commit is contained in:
parent
c236b0776b
commit
f042f50c0e
|
@ -0,0 +1,12 @@
|
||||||
|
{% macro keystone_authtoken(username, password) -%}
|
||||||
|
[keystone_authtoken]
|
||||||
|
auth_uri = {{ address("keystone", keystone.public_port, with_scheme=True) }}
|
||||||
|
auth_url = {{ address("keystone", keystone.admin_port, with_scheme=True) }}
|
||||||
|
auth_type = password
|
||||||
|
project_domain_name = {{ service_account.domain }}
|
||||||
|
user_domain_name = {{ service_account.domain }}
|
||||||
|
project_name = {{ service_account.project }}
|
||||||
|
username = {{ username }}
|
||||||
|
password = {{ password }}
|
||||||
|
memcached_servers = {{ address("memcached", memcached.port) }}
|
||||||
|
{%- endmacro %}
|
Loading…
Reference in New Issue