forked from ISTI-ansible-roles/ansible-roles
letsencrypt: now that the user has no valid shell, use the command module to run the certificate request.
This commit is contained in:
parent
805062b3c0
commit
f11655bb1b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue