Ensure letsencrypt directory exists when installing with snap

This commit is contained in:
Guilherme Balzana 2021-07-21 13:43:40 +01:00
parent 29b64067bc
commit 8aafd190db

View File

@ -45,6 +45,11 @@
dest: /usr/bin/certbot dest: /usr/bin/certbot
state: link state: link
- name: Ensure config directory exists
file:
path: /etc/letsencrypt
state: directory
- name: Set Certbot script variable. - name: Set Certbot script variable.
set_fact: set_fact:
certbot_script: /usr/bin/certbot certbot_script: /usr/bin/certbot