linux - 模块无法启动 Ansible
问题描述
我是 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
从我的库存中删除并且它起作用了。
推荐阅读
- java - Java,解密文件的问题
- c++ - Cmake Mlpack Ubuntu 问题
- c# - C# - 如何选择首先加载哪个控制用户?
- android - 在我尝试 Unity 应用程序的几乎所有设备上出现“未安装应用程序”错误
- angular - browser.actions().mouseMove() 使用 sendKeys 创建语法错误
- flutter - 重建列中的小部件
- puppeteer-sharp - 如何在 Windows 7 上使用 puppeteerSharp
- firebase - Firebase 管理员获取云平台的使用信息
- angular - 如何修复 NGINX 提供的已部署 Angular 应用程序上的 404 错误
- websphere-mq-fte - IBM MQ v9 - 托管文件传输 - 将文件放入文件夹后启动 MFT