From e669ab0ac4c3bc56d4132f975fc2cb356b050582 Mon Sep 17 00:00:00 2001 From: Simon Spannagel Date: Fri, 8 Nov 2019 19:17:22 +0100 Subject: [PATCH] Replace shell with command module --- tasks/create-cert-webroot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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