From 1c71cb110eb934d55486fabf14f451d830dc8dac Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 14 Aug 2018 14:50:10 +0300 Subject: [PATCH] Change SSL certificate obtaining a bit --- roles/matrix-server/tasks/setup_ssl.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/matrix-server/tasks/setup_ssl.yml b/roles/matrix-server/tasks/setup_ssl.yml index c7f5da98..167b739b 100644 --- a/roles/matrix-server/tasks/setup_ssl.yml +++ b/roles/matrix-server/tasks/setup_ssl.yml @@ -49,8 +49,9 @@ - name: Ensure SSL certificates are marked as wanted in acmetool shell: >- - /usr/bin/docker run --rm --name acmetool-host-grab -p 80:80 + /usr/bin/docker run --rm --name acmetool --net=host -v {{ matrix_ssl_certs_path }}:/certs + -v {{ matrix_ssl_certs_path }}/run:/var/run/acme -e ACME_EMAIL={{ matrix_ssl_support_email }} willwill/acme-docker acmetool want {{ item }} --xlog.severity=debug