mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 12:10:34 +08:00
Gotta actually start the thing.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user