Fix templating.
This commit is contained in:
parent
f16f83a29e
commit
d34a62e361
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user