renamed haproxy actions (forgotten files)

This commit is contained in:
Jedrzej Nowak
2015-09-01 15:25:29 +02:00
parent 97225223db
commit db25323928
3 changed files with 13 additions and 20 deletions

View File

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

View File

@@ -1,7 +1,10 @@
- hosts: [{{ ip }}]
sudo: yes
tasks:
- service:
- apt:
name: haproxy
state: reloaded
state: present
- replace:
dest: '/etc/default/haproxy'
regexp: ENABLED=0
replace: ENABLED=1