mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-11 08:11:15 +02:00
Allow overriding /etc/letsencrypt location
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Check if certificate already exists.
|
||||
stat:
|
||||
path: /etc/letsencrypt/live/{{ cert_item.domains | first | replace('*.', '') }}/cert.pem
|
||||
path: "{{ certbot_etc }}/live/{{ cert_item.domains | first | replace('*.', '') }}/cert.pem"
|
||||
register: letsencrypt_cert
|
||||
|
||||
- name: Stop services to allow certbot to generate a cert.
|
||||
|
||||
Reference in New Issue
Block a user