blob: a4160d7bb35a7acc53117c4b25c2d595844b2764 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: Install Certbot
ansible.builtin.include_tasks: certbot.yml
- name: Configure Certbot DigitalOcean plugin
ansible.builtin.include_tasks: digitalocean.yml
- name: Create /etc/letsencrypt
become: true
ansible.builtin.command: certbot certificates
args:
creates: /etc/letsencrypt
- name: Update certificates
ansible.builtin.include_tasks: domain.yml
loop: '{{ letsencrypt_domains }}'
|