1aac65de0c
mainly jinja spacing and jinja[invalid] related Change-Id: I6f52f2b0c1ef76de626657d79486d31e0f47f384
7 lines
626 B
YAML
7 lines
626 B
YAML
---
|
|
proxysql_project_database_shard: "{{ lookup('vars', (kolla_role_name | default(project_name)) + '_database_shard', default=omit) }}"
|
|
# NOTE(kevko): Kolla_role_name and replace is used only because of nova-cell
|
|
proxysql_project: "{{ kolla_role_name | default(project_name) | replace('_', '-') }}"
|
|
proxysql_config_users: "{% if proxysql_project_database_shard is defined and proxysql_project_database_shard['users'] is defined %}True{% else %}False{% endif %}"
|
|
proxysql_config_rules: "{% if proxysql_project_database_shard is defined and proxysql_project_database_shard['rules'] is defined %}True{% else %}False{% endif %}"
|