Fix deprecated way to transfer binary files with template and use copy instead when transferring binary files

This commit is contained in:
Christer Warén
2025-09-12 16:48:33 +03:00
parent a345c20097
commit b2b813060e

View File

@@ -853,6 +853,22 @@
label: "{{ item.path }}"
when:
- item.state == 'file'
- not item.endswith('.ttf')
tags:
- keycloak
- sso
- name: "Deployer - Keycloak - Files - Transferring Files"
ansible.builtin.copy:
src: '{{ item.src }}'
dest: '/root/data/keycloak/{{ item.path }}'
register: deployerTaskC1
with_filetree: './files/keycloak/'
loop_control:
label: "{{ item.path }}"
when:
- item.state == 'file'
- item.endswith('.ttf')
tags:
- keycloak
- sso