computer-playbook/tasks/recieve-certbot-certificate.yml

5 lines
260 B
YAML
Raw Normal View History

2024-01-08 19:35:01 +01:00
- name: "recieve certbot certificate for {{ domain }}"
command: >-
certbot certonly --agree-tos --email {{ administrator_email }}
--non-interactive --webroot -w /var/lib/letsencrypt/ -d {{ domain }}
2024-01-08 19:38:36 +01:00
{{ '--test-cert' if mode_test | bool else '' }}