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
When trying to run ansible-playbooks from the tdp-dev node the error Ansible could not initialize the preferred locale is encountered.
CAUSE:
since ansible 2.14.0 ansible-core requires the locale to have UTF-8 encoding. Excerpt from the 2.14.0 release notes1
ansible - At startup the filesystem encoding and locale are checked to verify they are UTF-8. If not, the process exits with an error reporting the errant encoding.
PROPOSED SOLUTIONS:
The install guide could be updated to alert users they need to install glibc-all-langpacks or run export LC_ALL="C.UTF-8 on the tdp-dev node.
Update so that glibc-all-langpacks is installed on the tdp-dev node.
When trying to run ansible-playbooks from the tdp-dev node the error
Ansible could not initialize the preferred locale
is encountered.CAUSE:
since ansible 2.14.0 ansible-core requires the locale to have UTF-8 encoding. Excerpt from the 2.14.0 release notes1
PROPOSED SOLUTIONS:
glibc-all-langpacks
or runexport LC_ALL="C.UTF-8
on the tdp-dev node.glibc-all-langpacks
is installed on the tdp-dev node.Footnotes
https://github.com/ansible/ansible/blob/7bb078bd740fba8ad43cc69e18fc8aeb4719180a/changelogs/CHANGELOG-v2.14.rst#id11 ↩
The text was updated successfully, but these errors were encountered: