aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/keystone/templates/keystone.conf
blob: b957365554b822295f586817328b36da57e69cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% set memcached_servers = [] %}
{% set rabbitmq_servers = [] %}
{% for host in haproxy_hosts.values() %}
{% set _ = memcached_servers.append('%s:11211'% host) %}
{% set _ = rabbitmq_servers.append('%s:5672'% host) %}
{% endfor %}
{% set memcached_servers = memcached_servers|join(',') %}
{% set rabbitmq_servers = rabbitmq_servers|join(',') %}
[DEFAULT]
admin_token={{ ADMIN_TOKEN }}
debug={{ DEBUG }}
verbose={{ VERBOSE }}
log_dir = /var/log/keystone

[cache]
backend=keystone.cache.memcache_pool
memcache_servers={{ memcached_servers}}
enabled=true

[revoke]
driver=sql
expiration_buffer=3600
caching=true

[database]
connection = mysql://keystone:{{ KEYSTONE_DBPASS }}@{{ db_host }}/keystone?charset=utf8
idle_timeout=30
min_pool_size=5
max_pool_size=120
pool_timeout=30


[identity]
default_domain_id=default
driver=sql

[assignment]
driver=sql

[resource]
driver=sql
caching=true
cache_time=3600
     
[token]
enforce_token_bind=permissive
expiration=43200
provider=uuid
driver=sql
caching=true
cache_time=3600

[eventlet_server]
public_bind_host= {{ identity_host }}
admin_bind_host= {{ identity_host }}

[oslo_messaging_rabbit]
rabbit_userid = {{ RABBIT_USER }}
rabbit_password = {{ RABBIT_PASS }}
rabbit_hosts = {{ rabbitmq_servers }}