From b92dbfcd8458adc179bcc9e5f1572644ca26a75f Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Fri, 22 Dec 2023 15:36:32 +0100 Subject: [PATCH] remove test certificates --- tasks/certbot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/certbot.yml b/tasks/certbot.yml index 7b79d66..b9020d6 100644 --- a/tasks/certbot.yml +++ b/tasks/certbot.yml @@ -27,13 +27,13 @@ - name: generate certificates for domaine and subdomains vars: subdomains: "-d {{ apache_server_alias | join( ' -d ' ) }}" - command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} --test-cert {{ subdomains }} + command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} {{ subdomains }} args: creates: "{{ apache_ssl_chain }}" when: apache_server_alias is defined - name: generate certificates - command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} --test-cert + command: certbot certonly --agree-tos --non-interactive -m {{ apache_ssl_root_email }} --webroot --webroot-path {{ apache_document_root }} -d {{ apache_server_name }} args: creates: "{{ apache_ssl_chain }}" when: apache_server_alias is not defined