mirror of
https://github.com/MatteZ02/infra.git
synced 2024-12-22 08:23:18 +00:00
Tasks Update: Installer - Certbot
This commit is contained in:
parent
eba463147c
commit
ecfa10fe1c
@ -86,14 +86,14 @@
|
|||||||
tags:
|
tags:
|
||||||
- certbot
|
- certbot
|
||||||
|
|
||||||
- name: "Installer : Certbot : Auth Hook"
|
# - name: "Installer : Certbot : Auth Hook"
|
||||||
get_url:
|
# get_url:
|
||||||
url: "https://git.waren.io/warengroup/acme-dns-auth/raw/branch/master/acme-dns-auth.py"
|
# url: "https://git.waren.io/warengroup/acme-dns-auth/raw/branch/master/acme-dns-auth.py"
|
||||||
dest: "~/data/letsencrypt/config/renewal-hooks/pre/acme-dns-auth.py"
|
# dest: "~/data/letsencrypt/config/renewal-hooks/pre/acme-dns-auth.py"
|
||||||
mode: '700'
|
# mode: '700'
|
||||||
force: true
|
# force: true
|
||||||
tags:
|
# tags:
|
||||||
- certbot
|
# - certbot
|
||||||
|
|
||||||
- name: "Installer : Certbot : Create Certificates"
|
- name: "Installer : Certbot : Create Certificates"
|
||||||
command: "certbot certonly --cert-name {{ cert.name }} --manual --preferred-challenges dns-01 --email {{ cert.email }} --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -n --manual-auth-hook ~/data/letsencrypt/config/renewal-hooks/pre/acme-dns-auth.py --debug-challenges --preferred-chain='ISRG Root X1' --key-type rsa -d {{ cert.domains | join(' -d ') }} --config-dir ~/data/letsencrypt/config --logs-dir ~/data/letsencrypt/logs --work-dir ~/data/letsencrypt/work"
|
command: "certbot certonly --cert-name {{ cert.name }} --manual --preferred-challenges dns-01 --email {{ cert.email }} --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -n --manual-auth-hook ~/data/letsencrypt/config/renewal-hooks/pre/acme-dns-auth.py --debug-challenges --preferred-chain='ISRG Root X1' --key-type rsa -d {{ cert.domains | join(' -d ') }} --config-dir ~/data/letsencrypt/config --logs-dir ~/data/letsencrypt/logs --work-dir ~/data/letsencrypt/work"
|
||||||
|
Loading…
Reference in New Issue
Block a user