initial commit for ansible haproxy role
This commit is contained in:
17
roles/haproxy/handlers/main.yaml
Normal file
17
roles/haproxy/handlers/main.yaml
Normal 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
|
Reference in New Issue
Block a user