kolla-ansible/ansible/roles/freezer/templates/freezer-scheduler.json.j2
caoyuan b81442a082 Add freezer-scheduler role
Change-Id: I469800239bfc7f3bb5acc899edf7a971b792655c
Implements: blueprint kolla-freezer-scheduler-container
Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net>
2018-04-09 08:35:32 +00:00

25 lines
751 B
Django/Jinja

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