letsencrypt: now that the user has no valid shell, use the command module to run the certificate request.

This commit is contained in:
Andrea Dell'Amico 2017-11-07 15:34:27 +01:00
parent 805062b3c0
commit f11655bb1b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@
- name: letsencrypt acmetool request the first certificate - name: letsencrypt acmetool request the first certificate
become: True become: True
become_user: '{{ letsencrypt_acme_user }}' 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 ) when: ( letsencrypt_new_desired_file | changed )
ignore_errors: True ignore_errors: True
tags: letsencrypt tags: letsencrypt