kolla-ansible/ansible/roles/cyborg/templates/cyborg-conductor.json.j2
Bai Yongjun ed2fd243d1 Add cyborg to kolla-ansible
Because kolla-ansible not have cyborg so should add it.

Implements: blueprint add-cyborg-to-kolla-ansible

Depend-On: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd

Change-Id: I6f7ae86f855c5c64697607356d0ff3161f91b239
2019-03-08 10:46:53 +08:00

25 lines
730 B
Django/Jinja

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