This commit is contained in:
Michael Grote 2024-11-10 12:05:12 +01:00
parent f3a544e9f7
commit 2e65b0cdc9

View file

@ -36,7 +36,7 @@
src: "{{ item }}" src: "{{ item }}"
dest: "{{ compose_dest_basedir }}/{{ item | replace(compose_src_basedir + '/', '') | replace('.j2', '') }}" dest: "{{ compose_dest_basedir }}/{{ item | replace(compose_src_basedir + '/', '') | replace('.j2', '') }}"
with_items: "{{ lookup('pipe', 'find '+ compose_src_basedir +'/ -type f -name *.j2').split('\n') }}" with_items: "{{ lookup('pipe', 'find '+ compose_src_basedir +'/ -type f -name *.j2').split('\n') }}"
# no_log: true no_log: true
register: copy_template register: copy_template
- name: Ensure needed networks exists - name: Ensure needed networks exists