ansible/changelogs/fragments/fix-config-from-environment.yaml
Toshio Kuratomi d483d646eb Normalize config from environment as text strings
On Python3, these would be text strings already.  On Python2, we need to
convert them from bytes.

Use a new helper function py3compat to do this.

Fixes #43207
2018-08-01 19:42:35 -07:00

5 lines
262 B
YAML

---
bugfixes:
- On Python2, loading config values from environment variables could lead to
a traceback if there were nonascii characters present. Converted them to
text strings so that no traceback will occur (https://github.com/ansible/ansible/pull/43468)