Add keystone_authtoken macros

Change-Id: Icd3a2276097a52e77a31cb7eeeffb2d5bca8492b
This commit is contained in:
Sergey Reshetnyak 2017-02-13 13:20:02 +03:00
parent c236b0776b
commit f042f50c0e
1 changed files with 12 additions and 0 deletions

View File

@ -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 %}