mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-09-20 12:32:53 +00:00
Fix deprecated way to transfer binary files with template and use copy instead when transferring binary files
This commit is contained in:
@@ -853,6 +853,22 @@
|
|||||||
label: "{{ item.path }}"
|
label: "{{ item.path }}"
|
||||||
when:
|
when:
|
||||||
- item.state == 'file'
|
- 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:
|
tags:
|
||||||
- keycloak
|
- keycloak
|
||||||
- sso
|
- sso
|
||||||
|
Reference in New Issue
Block a user