Fix templating.

This commit is contained in:
yohan 2024-06-21 19:05:21 +02:00
parent d34a62e361
commit 368a6fed46

View File

@ -15,11 +15,16 @@
force: true
changed_when: false
- name: Fetch feed2imaprc.j2
ansible.builtin.fetch:
src: "{{ remote_workdir }}/config/docker-mail-stack/feed2imaprc.j2"
dest: "{{ role_path }}/templates/"
flat: yes
- name: Template feed2imap config file
ansible.builtin.template:
src: "{{ remote_workdir }}/config/docker-mail-stack/{{ item }}.j2"
src: "{{ item }}.j2"
dest: "/usr/local/docker-mounted-files/docker-mail-stack/{{ item }}"
remote_src: yes
become: true
with_items:
- feed2imaprc