fix non-root standalone mode

This commit is contained in:
Waldek Maleska 2022-08-18 09:19:17 +01:00
parent c6297ddebb
commit 01dfe439f0
No known key found for this signature in database
GPG Key ID: 8667A0662654167A

View File

@ -38,5 +38,7 @@
- certbot_create_standalone_stop_services
- name: Generate new certificate if one doesn't exist.
become: true
become_user: "{{ certbot_auto_renew_user }}"
command: "{{ certbot_create_command }}"
when: not letsencrypt_cert.stat.exists