kolla-ansible/ansible/roles/murano/templates/murano-api.json.j2
Dai Dang Van 4f8eb892c7 Support policy.yaml file [part 5]
- Freezer
- Gnocchi
- Kuryr
- Murano
- Panko

This will copy only yaml or json policy file if they exist.

Change-Id: I5450839cb06c515f2be445883421f8f987ca834d
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-22 01:57:05 +00:00

25 lines
724 B
Django/Jinja

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