initial commit for ansible haproxy role

This commit is contained in:
Michael Rennecke
2019-03-20 19:50:49 +01:00
parent e545c85ed3
commit 1fa96a719b
11 changed files with 363 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
- name: restart haproxy
service:
name: haproxy
state: restarted
- name: reload haproxy
service:
name: haproxy
state: reloaded
- name: reload systemd config
shell: systemctl daemon-reload
- name: update certs
shell: /usr/local/bin/update_haproxy_certs.sh