12 lines
207 B
YAML
12 lines
207 B
YAML
- name: install haproxy package
|
|
package:
|
|
name: haproxy
|
|
state: present
|
|
|
|
- name: haproxy config
|
|
template:
|
|
src: haproxy.cfg.j2
|
|
dest: /etc/haproxy/haproxy.cfg
|
|
notify:
|
|
- restart haproxy
|