All checks were successful
/ ansible-docsmith (push) Successful in 21s
Signed-off-by: Julien Riou <julien@riou.xyz>
13 lines
371 B
YAML
13 lines
371 B
YAML
---
|
|
- name: Install packages
|
|
ansible.builtin.apt:
|
|
name: certbot
|
|
update_cache: true
|
|
|
|
- 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
|
|
when: not certbot_molecule
|