Gotta actually start the thing.

This commit is contained in:
Ralph Bean 2015-01-06 19:40:05 +00:00
parent 0b41c10d1e
commit 59b0fd4bfa

View file

@ -15,6 +15,8 @@
owner=root group=root mode=0600
with_items:
- { file: haproxy.cfg, dest: /etc/haproxy/haproxy.cfg }
notify:
- restart haproxy
when: env != 'staging'
tags:
- haproxy
@ -26,6 +28,13 @@
with_items:
- { file: haproxy.cfg.stg, dest: /etc/haproxy/haproxy.cfg }
when: env == 'staging'
notify:
- restart haproxy
tags:
- haproxy
- name: Make sure haproxy is awake and reporting for duty
service: name=haproxy state=started enabled=yes
tags:
- haproxy