renamed haproxy actions (forgotten files)

This commit is contained in:
Jedrzej Nowak 2015-09-01 15:25:29 +02:00
parent 9df9f20426
commit 0fefbbfcc7
2 changed files with 6 additions and 13 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