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
Next revision
Previous revision
wiki:ansible_troubleshooting [2024/03/22 08:49] – add unsupported locale setting antisawiki:ansible_troubleshooting [2025/09/30 12:24] (current) – add "msg": "MODULE FAILURE antisa
Line 50: Line 50:
 Then run Then run
   locale-gen   locale-gen
 +
 +
 +===== an unexpected keyword argument 'cert_file' =====
 +<code>
 +[WARNING]: Skipping Galaxy server https://old-galaxy.ansible.com/. Got an unexpected error when getting available versions of
 +collection community.docker: Unknown error when attempting to call Galaxy at 'https://old-galaxy.ansible.com/api':
 +HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'. HTTPSConnection.__init__() got an unexpected keyword
 +argument 'cert_file'
 +ERROR! Unknown error when attempting to call Galaxy at 'https://old-galaxy.ansible.com/api': HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'. HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'
 +</code>
 +
 +Try a different (newer) ansible version.
 +
 +===== "msg": "MODULE FAILURE: No start of json char found\nSee stdout/stderr for the exact error" =====
 +
 +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 57: Line 73:
 ====== References ====== ====== References ======
  
 +  * https://old.reddit.com/r/ansible/comments/1egtdg6/an_unknown_error_occurred_httpsconnection_init/
wiki/ansible_troubleshooting.1711097399.txt.gz · Last modified: 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