From 515e8af98b3e6b5b629ae38587746f8d50862c33 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 28 May 2021 14:39:45 -0500 Subject: [PATCH] Update tasks/create-cert-standalone.yml --- tasks/create-cert-standalone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/create-cert-standalone.yml b/tasks/create-cert-standalone.yml index 9523f23..34986e0 100644 --- a/tasks/create-cert-standalone.yml +++ b/tasks/create-cert-standalone.yml @@ -33,7 +33,9 @@ owner: root group: root mode: 0750 - when: certbot_create_standalone_stop_services is defined and certbot_create_standalone_stop_services + when: + - certbot_create_standalone_stop_services is defined + - certbot_create_standalone_stop_services - name: Generate new certificate if one doesn't exist. command: "{{ certbot_create_command }}"