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 [2025/09/09 10:35] – [References] add reddit link antisawiki:ansible_troubleshooting [2025/10/23 09:48] (current) – add couldn't resolve module/action antisa
Line 62: Line 62:
  
 Try a different (newer) ansible version. 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.
 +
 +===== couldn't resolve module/action 'community.libvirt.virt_install' =====
 +You have the module installed but it still returns a similar error might be because of an older version of plugin. Run this to update it:
 +
 +  ansible-galaxy collection install community.libvirt -U
 +
 +Now 2 versions are shown, ansible should use the newest one.
 +  ansible-galaxy collection list |grep virt
 +  community.libvirt                        2.0.0  
 +  community.libvirt                        1.2.0  
 +
 +Check also if the ansible version itself is compatible with plugin, on plugin document page.
 +
 ====== See also ====== ====== See also ======
   * [[wiki:ansible_debug_one_variable|Ansible debug one variable]]   * [[wiki:ansible_debug_one_variable|Ansible debug one variable]]
wiki/ansible_troubleshooting.1757414107.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