ansible-infra/playbooks/roles/certbot/tasks/main/certs.yaml

14 lines
328 B
YAML

- name: ensure directory for the webroot exists
ansible.builtin.file:
path: /webroot-for-acme-challenge/
state: directory
mode: "0755"
owner: root
group: root
become: true
- name: obtain certificates
loop: "{{ certbot__certificate_domains }}"
ansible.builtin.include_tasks:
file: main/cert.yaml