Adding notes for the config file variable

This commit is contained in:
Tyler Hale 2021-09-23 10:00:12 -06:00
parent 054a3711f1
commit c5283b1487
Signed by: Tyler
GPG key ID: 3F9270F8F70AC13D

View file

@ -4,18 +4,19 @@ Ansible playbook that provisions a group of servers to run HAProxy with a shared
## Variables ## Variables
| Variable | Required | Default | Choices | Description | | Variable | Required | Default | Choices | Description |
| --------------------------------- | -------- | -------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | --------------------------------- | -------- | ---------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| haproxy_bind_adapter | Yes | eth0 | | Interface to use for the Shared IP | | haproxy_bind_adapter | Yes | eth0 | | Interface to use for the Shared IP |
| haproxy_keepalived_adapter | Yes | eth0 | | Interface to use for the keepalived communication | | haproxy_config_file | Yes | example.haproxy.cfg.j2 | | File name to use for the haproxy config file |
| haproxy_keepalived_adapter_vlan | No | | | When specified, this will setup the given vlan and use that for the keepalived communication to keep the traffic out of the primary network | | haproxy_keepalived_adapter | Yes | eth0 | | Interface to use for the keepalived communication |
| haproxy_keepalived_ip | Yes | 172.16.10.1/24 | | IP to use for the keepalived communication | | haproxy_keepalived_adapter_vlan | No | | | When specified, this will setup the given vlan and use that for the keepalived communication to keep the traffic out of the primary network |
| haproxy_keepalived_process_weight | Yes | 10 | | Weight used for tracking the haproxy process on the server | | haproxy_keepalived_ip | Yes | 172.16.10.1/24 | | IP to use for the keepalived communication |
| haproxy_shared_ip | Yes | | | Shared IP that will be used by the group | | haproxy_keepalived_process_weight | Yes | 10 | | Weight used for tracking the haproxy process on the server |
| haproxy_shared_ip_subnet | Yes | /24 | | Subnet for the shared IP | | haproxy_shared_ip | Yes | | | Shared IP that will be used by the group |
| haproxy_shared_priority | Yes | 100 | | Keepalived priority for the host - this will | | haproxy_shared_ip_subnet | Yes | /24 | | Subnet for the shared IP |
| haproxy_shared_state | Yes | MASTER | MASTER/BACKUP | What state the keepalived configuration will start with for the desired host - After config starts it will determine if other members exist and adjust based on priority | | haproxy_shared_priority | Yes | 100 | | Keepalived priority for the host - this will |
| haproxy_shared_virtual_router_id | Yes | 25 | | Virtual Router ID for the keepalived configuration - This should be the same for the group | | haproxy_shared_state | Yes | MASTER | MASTER/BACKUP | What state the keepalived configuration will start with for the desired host - After config starts it will determine if other members exist and adjust based on priority |
| haproxy_shared_virtual_router_id | Yes | 25 | | Virtual Router ID for the keepalived configuration - This should be the same for the group |
## Example ## Example