- 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