2015-09-01 15:25:29 +02:00

11 lines
202 B
YAML

- hosts: [{{ ip }}]
sudo: yes
tasks:
- apt:
name: haproxy
state: present
- replace:
dest: '/etc/default/haproxy'
regexp: ENABLED=0
replace: ENABLED=1