mirror of
https://github.com/MatteZ02/infra.git
synced 2025-07-01 08:43:38 +00:00
Update
This commit is contained in:
@ -107,18 +107,18 @@
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
# - name: "Install - 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 /etc/letsencrypt/renewal-hooks/pre/acme-dns-auth.py --debug-challenges --preferred-chain='ISRG Root X1' --key-type rsa -d {{ cert.domains | join(' -d ') }}"
|
||||
# register: task
|
||||
# changed_when: task.stdout.find("Certificate not yet due for renewal; no action taken.") == -1
|
||||
# vars:
|
||||
# cert:
|
||||
# name: mpp
|
||||
# email: matias.martikainen@metropolia.fi
|
||||
# domains:
|
||||
# - "{{ ansible_facts.fqdn }}"
|
||||
# tags:
|
||||
# - certbot
|
||||
- name: "Install - Certbot - Create Certificates"
|
||||
command: "certbot certonly --cert-name {{ cert.name }} --manual --preferred-challenges http-01 --email {{ cert.email }} --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -n --debug-challenges --preferred-chain='ISRG Root X1' --key-type rsa -d {{ cert.domains | join(' -d ') }}"
|
||||
register: task
|
||||
changed_when: task.stdout.find("Certificate not yet due for renewal; no action taken.") == -1
|
||||
vars:
|
||||
cert:
|
||||
name: mpp
|
||||
email: matias.martikainen@metropolia.fi
|
||||
domains:
|
||||
- "{{ ansible_facts.fqdn }}"
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Install - MariaDB - Dependencies / Python Library : pymysql"
|
||||
pip:
|
||||
|
Reference in New Issue
Block a user