kolla-ansible/ansible/roles/trove/templates/trove-taskmanager.json.j2
likui 3888196334 Add trove-guestagent.conf
Add trove-guestagent.conf templates for trove-guestagent service.
Default the Guest Agent config file to be injected during instance creation.

Change-Id: Id0750b84fef8e19658b27f8ae16a857e1394216e
2020-08-10 16:14:24 +08:00

36 lines
1.1 KiB
Django/Jinja

{
"command": "trove-taskmanager --config-file=/etc/trove/trove-taskmanager.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/trove-taskmanager.conf",
"dest": "/etc/trove/trove-taskmanager.conf",
"owner": "trove",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/trove-guestagent.conf",
"dest": "/etc/trove/trove-guestagent.conf",
"owner": "trove",
"perm": "0600"
}{% if trove_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ trove_policy_file }}",
"dest": "/etc/trove/{{ trove_policy_file }}",
"owner": "trove",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/trove",
"owner": "trove:trove",
"recurse": true
},
{
"path": "/var/lib/trove",
"owner": "trove:trove",
"recurse": true
}
]
}