我是Ansible的新手。我正在使用Ubunto机器。在VM上,我安装了Ansible并将其应用于游戏书。
当我运行剧本时,出现以下错误。
fatal: [localhost]: FAILED! => {
"ansible_facts": {},
"changed": false,
"msg": "The following modules failed to execute: setup\n setup: The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error\n"
}
您能告诉我应该从哪里开始寻找吗?还建议您需要帮助解决此问题的更多信息。
提前感谢
我有类似的情况,删除清单中的ansible_python_interpreter = / usr / bin / python3并成功。