From b17976752cc910b92926ee5bd9950aee0c4a391b Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 28 May 2021 14:39:41 -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 afd0794..9523f23 100644 --- a/tasks/create-cert-standalone.yml +++ b/tasks/create-cert-standalone.yml @@ -22,7 +22,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: create post hook to start services template: