kolla-ansible/ansible/roles/karbor/templates/karbor-protection.json.j2
caowei 4c2da9e6d1 Add karbor ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: zhangshuai <446077695@qq.com>
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>

Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da
Partially-implements: bp karbor-ansible-role
2016-12-21 01:53:20 +08:00

25 lines
698 B
Django/Jinja

{
"command": "karbor-protection --config-file /etc/karbor/karbor.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/karbor.conf",
"dest": "/etc/karbor/karbor.conf",
"owner": "karbor",
"perm": "0644"
},
{
"source": "{{ container_config_directory }}/providers.d/openstack-infra.conf",
"dest": "/etc/karbor/providers.d/openstack-infra.conf",
"owner": "karbor",
"perm": "0644"
}
],
"permissions": [
{
"path": "/var/log/kolla/karbor",
"owner": "karbor:karbor",
"recurse": true
}
]
}