summaryrefslogtreecommitdiff
path: root/roles/letsencrypt/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/letsencrypt/tasks/main.yml')
-rw-r--r--roles/letsencrypt/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/letsencrypt/tasks/main.yml b/roles/letsencrypt/tasks/main.yml
index 9483ac0..5606b60 100644
--- a/roles/letsencrypt/tasks/main.yml
+++ b/roles/letsencrypt/tasks/main.yml
@@ -20,7 +20,12 @@
name: certbot
default_release: stretch-backports
+- name: install haproxy
+ apt:
+ name: haproxy
+
- name: stop haproxy
+ ignore_errors: true
systemd:
name: haproxy
state: stopped
@@ -38,6 +43,7 @@
command: /usr/local/sbin/deploy_certs_haproxy
- name: start haproxy
+ ignore_errors: true
systemd:
name: haproxy
state: started