Fix templating.

This commit is contained in:
yohan 2024-06-21 18:47:13 +02:00
parent f16f83a29e
commit d34a62e361

View File

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