diff --git a/roles/common/tasks/zos_convert_files.yml b/roles/common/tasks/zos_convert_files.yml index 4e8c00734..e6ebe8914 100644 --- a/roles/common/tasks/zos_convert_files.yml +++ b/roles/common/tasks/zos_convert_files.yml @@ -4,7 +4,8 @@ - name: Convert files to z/OS encoding ibm.ibm_zos_core.zos_encode: src: "{{ item }}" - from_encoding: ISO8859-1 - to_encoding: IBM-1047 + encoding: + from: ISO8859-1 + to: IBM-1047 backup: yes loop: "{{ paths_to_convert }}"