ibm_zos_core icon indicating copy to clipboard operation
ibm_zos_core copied to clipboard

[Epic] [community] [code] Add z/OS compatibility - ansible.builtin.lineinfile

Open ketankelkar opened this issue 10 months ago • 0 comments

The ansible.builtin.lineinfile module does not currently support file operations for files not encoded in UTF-8. This means that the module does not work for files encoded in EBCDIC. There is a mechanism available which automatically converts non-UTF-8 encoded files to UTF-8, but only when those target files are treated as text files (eg open('r') or open('rt')). The file conversion is not triggered if the target file is treated as binary (as is the case in today's community code)

link to src code

This epic tracks the effort to change the community code to inspect a z/OS UNIX file's extended attributes for tags (encoding info) and successfully execute the intended file operation.

The items in this epic:

  • #1416
  • #1417
  • #1418
  • #1419
  • #1420

ketankelkar avatar Apr 05 '24 18:04 ketankelkar