solar/resources/haproxy_service/actions/run.yaml
2015-09-15 12:20:12 +02:00

11 lines
202 B
YAML

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