You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data sent to remote z/OS nodes is by default encoded in UTF-8 and is not tagged.
51
51
The z/OS UNIX remote shell defaults to an EBCDIC encoding for un-tagged data streams.
52
52
This mismatch in data encodings can be resolved with the ``PYTHONSTDINENCODING`` environment variable,
53
-
which tags the pipe with the encoding specified.
53
+
which tags the pipe used by python with the specified encoding.
54
54
File and pipe tags can be used for automatic conversion between ASCII and EBCDIC.
55
55
But only by programs on z/OS which are aware of tags and honor them.
56
56
@@ -149,9 +149,10 @@ Include the following configurations when setting the remote environment for any
149
149
150
150
151
151
Note, the remote environment can be set any of these levels:
152
-
* inventory - inventory.yml, group_vars/all.yml, or host_vars/all.yml
153
-
* playbook - ``environment`` variable at top of playbook.
154
-
* block or task - ``environment`` key word.
152
+
153
+
* inventory - inventory.yml, group_vars/all.yml, or host_vars/all.yml
154
+
* playbook - ``environment`` variable at top of playbook.
155
+
* block or task - ``environment`` key word.
155
156
156
157
For more details, see :ref:`playbooks_environment`.
157
158
@@ -216,7 +217,7 @@ Note, the ``'\x81'`` below may vary based on the target user and host:
216
217
Unreadable Characters
217
218
---------------------
218
219
219
-
Seeing unreadable characters in playbook output is most typically and an EBCDIC encoding mix up.
220
+
Seeing unreadable characters in playbook output is most typically an EBCDIC encoding mix up.
220
221
Double check that the remote environment is set up properly.
221
222
Also check the expected file encodings, both on the remote node and the controller.
222
223
ansible-core modules will assume all text data is UTF-8 encoded, while z/OS may be using EBCDIC.
@@ -229,19 +230,11 @@ whether that's failing to auto convert EBCDIC to UTF-8 or erroneously attempting
229
230
Using z/OS as a Control Node
230
231
----------------------------
231
232
232
-
.. Dan blog- https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/daniel-jast1/2023/12/07/red-hat-aap-on-ibm-z-and-linuxone?communityKey=ce54fe94-0145-4832-a0ef-4ea81d6062cc
0 commit comments