3b51d076e3
Horizon should listen on port 80 and does not need a scheme redirect when ssl is disabled. We should always configure the HAProxy PPA and install the latest version regardless of whether or not SSL is enabled or disabled. Change-Id: I7a7d574251fe1139da0826d64958529fdf2f5b4c Closes-Bug: #1596548
OpenStack Haproxy Server
- tags
-
openstack, galera, haproxy, cloud, ansible
- category
-
*nix
Role for the installation and setup of haproxy
- name: Install haproxy
hosts: haproxy
user: root
roles:
- { role: "haproxy_server", tags: [ "haproxy-server" ] }
vars:
haproxy_service_configs:
- service:
hap_service_name: group_name
hap_backend_nodes: "{{ groups['group_name'][0] }}"
hap_backup_nodes: "{{ groups['group_name'][1:] }}"
hap_port: 80
hap_balance_type: http
hap_backend_options:
- "forwardfor"
- "httpchk"
- "httplog"