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/01/08 10:40] – add AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' antisa | wiki:ansible_troubleshooting [2025/09/09 10:35] (current) – [References] add reddit link antisa | ||
---|---|---|---|
Line 23: | Line 23: | ||
Or just use a newer version of ansible which can use newer version of cryptography package. | Or just use a newer version of ansible which can use newer version of cryptography package. | ||
+ | ===== .local/ | ||
+ | Happened when pip installing 9.3.0 version over 2.9.27. | ||
+ | |||
+ | Uninstall old version first | ||
+ | pip uninstall 2.9.27 | ||
+ | |||
+ | Make sure no ansible dirs are leftover: | ||
+ | |||
+ | ~$ ls / | ||
+ | ls: cannot access '/ | ||
+ | |||
+ | Now install via pip | ||
+ | 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. | ||
====== See also ====== | ====== See also ====== | ||
* [[wiki: | * [[wiki: | ||
Line 29: | Line 68: | ||
====== References ====== | ====== References ====== | ||
+ | * https:// |
wiki/ansible_troubleshooting.1704710409.txt.gz · Last modified: by antisa