2024-01-29 17:53:50 +00:00
|
|
|
---
|
|
|
|
# vars file for deploy_haproxy
|
2024-01-30 22:20:26 +00:00
|
|
|
deploy_haproxy_config_dir: /etc/haproxy
|
|
|
|
deploy_haproxy_chroot: /var/lib/haproxy
|
2024-02-02 19:29:00 +00:00
|
|
|
deploy_haproxy_socket: "{{ deploy_haproxy_chroot }}/stats"
|
|
|
|
deploy_haproxy_cert_dir_dst: "{{ deploy_haproxy_chroot }}/certs"
|
2024-02-01 22:05:41 +00:00
|
|
|
deploy_haproxy_user: "{{ '99' if deploy_haproxy_deploy_method == 'docker' else 'haproxy' }}"
|
|
|
|
deploy_haproxy_group: "{{ '99' if deploy_haproxy_deploy_method == 'docker' else 'haproxy' }}"
|
2024-01-31 16:38:13 +00:00
|
|
|
deploy_haproxy_service_name: "haproxy{{ '_container' if deploy_haproxy_deploy_method == 'docker' }}"
|
2024-02-01 22:05:41 +00:00
|
|
|
deploy_haproxy_docker_image: haproxytech/haproxy-debian
|
2024-01-30 22:20:26 +00:00
|
|
|
deploy_haproxy_version_map:
|
|
|
|
latest: "2.9"
|
2024-02-01 22:05:41 +00:00
|
|
|
deploy_haproxy_container_volume_map:
|
|
|
|
- "{{ deploy_haproxy_config_dir }}:/usr/local/etc/haproxy"
|
2024-02-02 22:42:53 +00:00
|
|
|
- "{{ deploy_haproxy_chroot }}:{{ deploy_haproxy_chroot }}"
|
2024-01-30 22:20:26 +00:00
|
|
|
|
|
|
|
deploy_haproxy_repository:
|
|
|
|
debian:
|
|
|
|
- name: haproxy
|
|
|
|
uri: "http://haproxy.debian.net"
|
|
|
|
comments: "haproxy repository"
|
|
|
|
types:
|
|
|
|
- deb
|
|
|
|
suites:
|
|
|
|
- "{{ ansible_distribution_release }}-backports-{{ deploy_haproxy_version_map[deploy_haproxy_version] | default(deploy_haproxy_version) }}"
|
|
|
|
components:
|
|
|
|
- main
|
|
|
|
options:
|
|
|
|
Signed-By: "https://haproxy.debian.net/bernat.debian.org.gpg"
|
|
|
|
ubuntu:
|
|
|
|
- name: haproxy
|
|
|
|
uri: "https://ppa.launchpadcontent.net/vbernat/haproxy-{{ deploy_haproxy_version_map[deploy_haproxy_version] | default(deploy_haproxy_version) }}/ubuntu/"
|
|
|
|
comments: "haproxy repository"
|
|
|
|
types:
|
|
|
|
- deb
|
|
|
|
suites:
|
|
|
|
- "{{ ansible_distribution_release }}"
|
|
|
|
components:
|
|
|
|
- main
|
|
|
|
options:
|
|
|
|
Signed-By: "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xcffb779aadc995e4f350a060505d97a41c61b9cd"
|