aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/loadbalancer/templates/haproxy-ssh/haproxy-ssh.json.j2
blob: c61fc44d880ca5e0e2d0235870768cf8899df4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "command": "/usr/sbin/sshd -D",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/sshd_config",
            "dest": "/etc/ssh/sshd_config",
            "owner": "root",
            "perm": "0600"
        },
        {
            "source": "{{ container_config_directory }}/id_rsa.pub",
            "dest": "/var/lib/haproxy/.ssh/authorized_keys",
            "owner": "haproxy",
            "perm": "0600"
        }{% 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 %}
    ]
}