mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-11-01 09:09:51 +00:00
22 lines
532 B
YAML
22 lines
532 B
YAML
|
|
---
|
||
|
|
- hosts: www
|
||
|
|
gather_facts: false
|
||
|
|
vars_files:
|
||
|
|
- env_vars/base.yml
|
||
|
|
- env_vars/dev.yml
|
||
|
|
- roles/letsencrypt/defaults/main.yml
|
||
|
|
handlers:
|
||
|
|
- include: roles/haproxy/handlers/main.yml
|
||
|
|
|
||
|
|
tasks:
|
||
|
|
- name: Template haproxy.cfg file
|
||
|
|
template:
|
||
|
|
src: /srv/newsblur/docker/haproxy/haproxy.consul.cfg.j2
|
||
|
|
dest: /srv/newsblur/docker/haproxy/haproxy.consul.cfg
|
||
|
|
|
||
|
|
- name: Reload haproxy
|
||
|
|
debug:
|
||
|
|
msg: Gracefully reloading HAProxy
|
||
|
|
changed_when: yes
|
||
|
|
notify: reload haproxy
|