summaryrefslogtreecommitdiff
path: root/baserock_frontend/instance-config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'baserock_frontend/instance-config.yml')
-rw-r--r--baserock_frontend/instance-config.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/baserock_frontend/instance-config.yml b/baserock_frontend/instance-config.yml
index d5e79ff4..c1d3cfaf 100644
--- a/baserock_frontend/instance-config.yml
+++ b/baserock_frontend/instance-config.yml
@@ -13,8 +13,19 @@
dest: /etc/pki/tls/private/baserock.pem
owner: haproxy
mode: 400
+ notify:
+ - restart haproxy
- name: HAProxy configuration
copy:
src: haproxy.cfg
dest: /etc/haproxy/haproxy.cfg
+ notify:
+ - restart haproxy
+
+ handlers:
+ - name: restart haproxy
+ service:
+ name: haproxy
+ enabled: true
+ state: restarted