From 44174f00d90576260bac7419ade5a9fdcfee76cc Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 24 Jun 2025 15:48:12 +0100 Subject: [PATCH] Remove key_type option --- tasks/cert.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cert.yaml b/tasks/cert.yaml index bca5085..9dfdfcf 100644 --- a/tasks/cert.yaml +++ b/tasks/cert.yaml @@ -15,6 +15,6 @@ cert_sans: "{{ ['DNS:'] | product(item.sans | default([item.hostname])) | map('join') | list }}" - name: Certbot - Request a certificate # noqa no-changed-when ignore-errors - ansible.builtin.command: "certbot certonly -n --expand --agree-tos {{ certbot_plugin_arguments[item.plugin | default('default')] }} -d '{{ item.hostname }}' {% for san in item.sans | default([]) %} -d '{{ san }}' {% endfor %} -m {{ certbot_certs_email }}{% if item.key_type %} --key-type {{ item.key_type }}{% endif %}" # noqa no-change-when + ansible.builtin.command: "certbot certonly -n --expand --agree-tos {{ certbot_plugin_arguments[item.plugin | default('default')] }} -d '{{ item.hostname }}' {% for san in item.sans | default([]) %} -d '{{ san }}' {% endfor %} -m {{ certbot_certs_email }}" # noqa no-change-when ignore_errors: true when: not cert_stat.stat.exists or cert_sans | difference(cert_info.subject_alt_name) | list | length > 0