Initial commit
Some checks failed
/ ansible-docsmith (push) Failing after 17s

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2026-02-16 15:46:18 +01:00 committed by Julien Riou
commit ab92d88956
Signed by: jriou
GPG key ID: 9A099EDA51316854
73 changed files with 3381 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
- name: Check requirements
ansible.builtin.assert:
that:
- certbot_email is defined
- certbot_domain is defined
- name: Install packages
ansible.builtin.package:
name: certbot
- name: Request certificate
ansible.builtin.command:
cmd: >-
certbot certonly --standalone -n --agree-tos
--email {{ certbot_email }} -d {{ certbot_domain }}
creates: /etc/letsencrypt/live/{{ certbot_domain }}/fullchain.pem