kolla-ansible/ansible/roles/blazar/templates/blazar-api.json.j2
Duong Ha-Quang b37a30a760 Add policy.yaml support for blazar role
Follow up of https://review.openstack.org/#/c/454752

Change-Id: I20a3677b30ef6133fc3456b0449464a6a88d1581
Closes-Bug: #1747375
2018-02-05 16:31:47 +07:00

25 lines
724 B
Django/Jinja

{
"command": "blazar-api --config-file /etc/blazar/blazar.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/blazar.conf",
"dest": "/etc/blazar/blazar.conf",
"owner": "blazar",
"perm": "0600"
}{% if blazar_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ blazar_policy_file }}",
"dest": "/etc/blazar/{{ blazar_policy_file }}",
"owner": "blazar",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/blazar",
"owner": "blazar:blazar",
"recurse": true
}
]
}