aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cyborg/templates/cyborg-agent.json.j2
blob: 474396311eefce5b4f778b7e67faa2dcfc363fab (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": "cyborg-agent --config-file /etc/cyborg/cyborg.conf",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/cyborg.conf",
            "dest": "/etc/cyborg/cyborg.conf",
            "owner": "cyborg",
            "perm": "0600"
        }{% if cyborg_policy_file is defined %},
        {
            "source": "{{ container_config_directory }}/{{ cyborg_policy_file }}",
            "dest": "/etc/cyborg/{{ cyborg_policy_file }}",
            "owner": "cyborg",
            "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/cyborg",
            "owner": "cyborg:cyborg",
            "recurse": true
        }
    ]
}