我是 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
从我的库存中,它起作用了。
关于linux - 模块无法启动 Ansible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57167948/