blob: a1761a5b25f58ce19c9e3a01ae9d7a275576c213 (
plain) (
tree)
|
|
- 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 }}'
loop_control:
loop_var: domain
|