From 0385c8b6596a71332a87f39e3f9f8baa2f7505b3 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 4 Jun 2024 14:56:21 +0200 Subject: [PATCH] add nginx support --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 894143c..bd8ff4f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,5 +29,13 @@ loop_control: loop_var: cert_item +- include_tasks: create-cert-nginx.yml + with_items: "{{ certbot_certs }}" + when: + - certbot_create_if_missing + - certbot_create_method == 'nginx' + loop_control: + loop_var: cert_item + - import_tasks: renew-cron.yml when: certbot_auto_renew