kolla-ansible/ansible/roles/tacker/templates/tacker-conductor.json.j2
Radosław Piliszek c5f9ea9590 [Train] Fix Tacker config for the local Glance store
It turned out the previous fix ([1]) was incomplete.
Additionally, it seems we have to limit Tacker server
to one instance co-located with conductor.

[1] https://review.opendev.org/684275
commit b96ade3cf0

Change-Id: I9ce27d5f68f32ef59e245960e23336ae5c5db905
Closes-bug: #1853715
Related-bug: #1845142
2019-11-25 20:13:15 +01:00

33 lines
946 B
Django/Jinja

{
"command": "tacker-conductor --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
},
{
"path": "/var/lib/tacker/vnfpackages",
"owner": "tacker:tacker"
},
{
"path": "/var/lib/tacker/csar_files",
"owner": "tacker:tacker"
}
]
}