2024-09-27 18:40:51 +00:00
|
|
|
---
|
|
|
|
- name: Converge
|
|
|
|
hosts: all
|
|
|
|
vars:
|
2024-09-27 19:18:56 +00:00
|
|
|
lego_acme_server: https://acme-staging-v02.api.letsencrypt.org
|
|
|
|
lego_acme_account_email: user@example.com
|
2024-09-27 18:40:51 +00:00
|
|
|
lego_certificates:
|
2024-09-27 22:38:17 +00:00
|
|
|
- name: example
|
|
|
|
domains:
|
2024-09-27 18:40:51 +00:00
|
|
|
- example.com
|
|
|
|
- www.example.com
|
|
|
|
skip_create: True
|
|
|
|
pre_tasks:
|
|
|
|
- name: Install requirements
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: tar
|
|
|
|
state: present
|
|
|
|
roles:
|
|
|
|
- role: xoxys.lego
|