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

5 lines
257 B
YAML
Raw Normal View History

- name: recieve certbot certificate for {{ domain }}
command: >-
certbot certonly --agree-tos --email {{ administrator_email }}
--non-interactive --webroot -w /var/lib/letsencrypt/ -d {{ domain }}
{{ '--test-cert' if test_run | bool else '' }}