kolla-ansible/ansible/roles/congress/templates/congress-api.json.j2
zhubingbing 2d570b886d
Fix congress upgrade permission issue
Change-Id: I215d17cbaa7265c93cebb7454e0a53868c13d7a2
Partial-Bug: #1631503
2016-10-15 18:53:28 +08:00

19 lines
501 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"
}
],
"permissions": [
{
"path": "/var/log/kolla/congress",
"owner": "congress:congress",
"recurse": true
}
]
}