openstack-ansible-os_aodh/templates/aodh.conf.j2

52 lines
1.8 KiB
Django/Jinja

#{{ ansible_managed}}
[DEFAULT]
# Disable stderr logging
use_stderr = False
auth_strategy = keystone
debug = {{ debug }}
transport_url = rabbit://{% for host in aodh_rabbitmq_servers.split(',') %}{{ aodh_rabbitmq_userid }}:{{ aodh_rabbitmq_password }}@{{ host }}:{{ aodh_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ aodh_rabbitmq_vhost }}{% endif %}{% endfor %}
[oslo_messaging_rabbit]
rabbit_use_ssl = {{ aodh_rabbitmq_use_ssl }}
[api]
port = {{ aodh_service_port }}
[database]
connection = {{ aodh_connection_string }}
[keystone_authtoken]
insecure = {{ keystone_service_internaluri_insecure | bool }}
auth_type = {{ aodh_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminurl }}
auth_uri = {{ keystone_service_internaluri }}
project_domain_id = {{ aodh_service_project_domain_id }}
user_domain_id = {{ aodh_service_user_domain_id }}
project_name = {{ aodh_service_project_name }}
username = {{ aodh_service_user_name }}
password = {{ aodh_service_password }}
region_name = {{ keystone_service_region }}
interface = {{ aodh_service_endpoint_type }}
memcached_servers = {{ memcached_servers }}
token_cache_time = 300
# if your memcached server is shared, use these settings to avoid cache poisoning
memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcached_encryption_key }}
[service_credentials]
insecure = {{ keystone_service_internaluri_insecure | bool }}
auth_type = {{ aodh_keystone_auth_plugin }}
auth_url = {{ keystone_service_internalurl }}
project_domain_id = {{ aodh_service_project_domain_id }}
user_domain_id = {{ aodh_service_user_domain_id }}
project_name = {{ aodh_service_project_name }}
username = {{ aodh_service_user_name }}
tenant_name = {{ aodh_service_tenant_name }}
password = {{ aodh_service_password }}
region_name = {{ aodh_service_region }}
interface = {{ aodh_service_endpoint_type }}