aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/haproxy/templates/haproxy.json.j2
blob: c95dd77031920a1bf549271d1f41ba0f84b2d805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "command": "/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/haproxy.cfg",
            "dest": "/etc/haproxy/haproxy.cfg",
            "owner": "root",
            "perm": "0644"
        },
        {
            "source": "{{ container_config_directory }}/haproxy.pem",
            "dest": "/etc/haproxy/haproxy.pem",
            "owner": "root",
            "perm": "0600",
            "optional": {{ (not kolla_enable_tls_external | bool) | string | lower }}
        }
    ]
}