wiki:ansible_troubleshooting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:ansible_troubleshooting [2024/03/19 14:44] – add local/bin/ansible: No such file or directory antisa | wiki:ansible_troubleshooting [2025/09/30 12:24] (current) – add "msg": "MODULE FAILURE 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' | ||
+ | |||
+ | Fix is to simply generate the locale: | ||
+ | vi / | ||
+ | uncomment your locale e.g. | ||
+ | hr_HR.UTF-8 | ||
+ | |||
+ | Then run | ||
+ | locale-gen | ||
+ | |||
+ | |||
+ | ===== an unexpected keyword argument ' | ||
+ | < | ||
+ | [WARNING]: Skipping Galaxy server https:// | ||
+ | collection community.docker: | ||
+ | HTTPSConnection.__init__() got an unexpected keyword argument ' | ||
+ | argument ' | ||
+ | ERROR! Unknown error when attempting to call Galaxy at ' | ||
+ | </ | ||
+ | |||
+ | Try a different (newer) ansible version. | ||
+ | |||
+ | ===== " | ||
+ | |||
+ | This is also possibly a mismatch with ansible versions and older python on target hosts. Try a different, older ansible version if running against older OS-es. | ||
====== See also ====== | ====== See also ====== | ||
Line 44: | Line 73: | ||
====== References ====== | ====== References ====== | ||
+ | * https:// |
wiki/ansible_troubleshooting.1710859497.txt.gz · Last modified: by antisa