Open benwebber opened 7 years ago
IUS offers HAProxy 1.6 and 1.7 as haproxy16u and haproxy17u, respectively.
haproxy16u
haproxy17u
include_vars could do something like:
include_vars
- include_vars: # returns {"_haproxy_package_name": "haproxy"} - "{{ ansible_distribution }}.yml"
Then we can install HAProxy like so:
- package: name: "{{ haproxy_package_name | default(_haproxy_package_name) }}"
IUS offers HAProxy 1.6 and 1.7 as
haproxy16u
andhaproxy17u
, respectively.include_vars
could do something like:Then we can install HAProxy like so: