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: