User Tools

Site Tools


wiki:ansible_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:ansible_troubleshooting [2024/03/19 15:44] – add local/bin/ansible: No such file or directory antisawiki:ansible_troubleshooting [2024/03/22 09:49] (current) – add unsupported locale setting antisa
Line 37: Line 37:
   pip install ansible   pip install ansible
  
 +===== unsupported locale setting =====
 +
 +  ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
 +
 +This might happen when you ssh into a server which doesn't have your locale generated (the one you are using on your local machine) and you are forwarding the locale over ssh (see ''SendEnv'' and ''AcceptEnv'' in ssh_config and sshd_config on your machine and server respectively).
 +
 +Fix is to simply generate the locale:
 +  vi /etc/locale.gen
 +uncomment your locale e.g.
 +  hr_HR.UTF-8
 +
 +Then run
 +  locale-gen
  
 ====== See also ====== ====== See also ======
wiki/ansible_troubleshooting.txt · Last modified: 2024/03/22 09:49 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki