diff --git a/tasks/create-cert-webroot.yml b/tasks/create-cert-webroot.yml index 71509b5..dd47827 100644 --- a/tasks/create-cert-webroot.yml +++ b/tasks/create-cert-webroot.yml @@ -13,5 +13,5 @@ when: certbot_deployhook is defined - name: Generate new certificate if one doesn't exist. - shell: "{{ certbot_create_command }}" + command: "{{ certbot_create_command }}" when: not letsencrypt_cert.stat.exists