--- - name: Create base directory ansible.builtin.file: path: "{{ autoconfig.path }}/mail" state: directory - name: Deploy autoconfiguration website ansible.builtin.template: src: mail/config-v1.1.xml.j2 dest: "{{ autoconfig.path }}/mail/config-v1.1.xml"