mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
fix non-root standalone mode
This commit is contained in:
parent
c6297ddebb
commit
01dfe439f0
@ -38,5 +38,7 @@
|
|||||||
- certbot_create_standalone_stop_services
|
- certbot_create_standalone_stop_services
|
||||||
|
|
||||||
- name: Generate new certificate if one doesn't exist.
|
- name: Generate new certificate if one doesn't exist.
|
||||||
|
become: true
|
||||||
|
become_user: "{{ certbot_auto_renew_user }}"
|
||||||
command: "{{ certbot_create_command }}"
|
command: "{{ certbot_create_command }}"
|
||||||
when: not letsencrypt_cert.stat.exists
|
when: not letsencrypt_cert.stat.exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user