kolla-ansible/ansible/roles/congress/templates/congress-api.json.j2
Eduardo Gonzalez 775d8019b6 Add custom policies in service.json
Include custom policy.json files in service-api.json.j2 files

Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92
Partially-Implements: blueprint custom-policies
2016-12-02 16:22:17 +00:00

26 lines
731 B
Django/Jinja

{
"command": "congress-server --api --node-id=api-node --config-file /etc/congress/congress.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/congress.conf",
"dest": "/etc/congress/congress.conf",
"owner": "congress",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",
"dest": "/etc/congress/policy.json",
"owner": "congress",
"perm": "0600",
"optional": true
}
],
"permissions": [
{
"path": "/var/log/kolla/congress",
"owner": "congress:congress",
"recurse": true
}
]
}