23 lines
604 B
YAML
23 lines
604 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
vars:
|
|
lego_server: https://acme-staging-v02.api.letsencrypt.org/directory
|
|
lego_accounts:
|
|
- account_email: user@example.com
|
|
account_number: "862bf8e9-b02a-43f1-9c05-ea073e0e1c7c"
|
|
account_key: "94ecba99-bfbd-4c5a-9fd4-790f1c061a4c"
|
|
lego_certificates:
|
|
- account_email: user@example.com
|
|
domains:
|
|
- example.com
|
|
- www.example.com
|
|
skip_create: True
|
|
pre_tasks:
|
|
- name: Install requirements
|
|
ansible.builtin.package:
|
|
name: tar
|
|
state: present
|
|
roles:
|
|
- role: xoxys.lego
|