From f11655bb1b05cacfb49689d948f46b5919ee08ab Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 7 Nov 2017 15:34:27 +0100 Subject: [PATCH] letsencrypt: now that the user has no valid shell, use the command module to run the certificate request. --- letsencrypt-acmetool-client/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt-acmetool-client/tasks/main.yml b/letsencrypt-acmetool-client/tasks/main.yml index e6961cb2..8c17a575 100644 --- a/letsencrypt-acmetool-client/tasks/main.yml +++ b/letsencrypt-acmetool-client/tasks/main.yml @@ -132,7 +132,7 @@ - name: letsencrypt acmetool request the first certificate become: True become_user: '{{ letsencrypt_acme_user }}' - shell: '/usr/local/bin/acme-cert-request > {{ letsencrypt_acme_log_dir }}/acme-init.log 2>&1' + command: '/usr/local/bin/acme-cert-request' when: ( letsencrypt_new_desired_file | changed ) ignore_errors: True tags: letsencrypt