aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/watcher/templates/watcher-applier.json.j2
blob: a0d154ca743a58ce6bb98131d5020ff8b74b0842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
    "command": "watcher-applier --config-file /etc/watcher/watcher.conf",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/watcher.conf",
            "dest": "/etc/watcher/watcher.conf",
            "owner": "watcher",
            "perm": "0600"
        }{% if watcher_policy_file is defined %},
        {
            "source": "{{ container_config_directory }}/{{ watcher_policy_file }}",
            "dest": "/etc/watcher/{{ watcher_policy_file }}",
            "owner": "watcher",
            "perm": "0600"
        }{% endif %}{% if kolla_copy_ca_into_containers | bool %},
        {
            "source": "{{ container_config_directory }}/ca-certificates",
            "dest": "/var/lib/kolla/share/ca-certificates",
            "owner": "root",
            "perm": "0644"
        }{% endif %}
    ],
    "permissions": [
        {
            "path": "/var/log/kolla/watcher",
            "owner": "watcher:watcher",
            "recurse": true
        }
    ]
}