From 9f88f210f0d75e49ca1de33d105b3b221ea6b5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 14 Apr 2022 22:04:07 +0200 Subject: [PATCH] use proper certbot module --- roles/webgateway/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/webgateway/tasks/main.yaml b/roles/webgateway/tasks/main.yaml index 9553523..e8cf0fd 100644 --- a/roles/webgateway/tasks/main.yaml +++ b/roles/webgateway/tasks/main.yaml @@ -16,12 +16,12 @@ - name: Generate certificate for all proxied domains command: - cmd: certbot certonly --apache -d {{item.domain}} + cmd: certbot certonly --nginx -d {{item.domain}} with_items: "{{ proxy }}" - name: Generate certificate for all static sites command: - cmd: certbot certonly --apache -d {{item.domain}} + cmd: certbot certonly --nginx -d {{item.domain}} with_items: "{{ static }}" - name: "Generate certbot script"