kolla-ansible/ansible/roles/tacker/templates/tacker-server.json.j2
Dai Dang Van e846d48780 Support policy.yaml file [part 6]
- Sahara
- Searchlight
- Senlin
- Tacker

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

Change-Id: I97c8bf300f14ae6d7c55c5f8962c5781cee2c40a
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-26 04:37:48 +00:00

25 lines
726 B
Django/Jinja

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