腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Ansible
中
的
回溯
错误
(
Python
版
本不
匹配
?)
、
、
、
当我运行以下命令时,我得到了一个
回溯
错误
ansible
-playbook -i hosts fmg-playbooks/01_add_model_device.yml 我运行
的
是
Ansible
2.9bin/
ansible
python
version = 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] 我收到有关
Python
版本
的
警告 TASK] 然后,
浏览 103
提问于2020-08-24
得票数 1
回答已采纳
1
回答
Python
包装。在多个版本之后指定
python
版本需求
、
、
、
setup.py从未提到过
python
_requires指令。现在,如果我想使用
python
2安装软件包- pip将安装最新
的
3.0.0
版
本,这是行不通
的
。 我需要pip来安装2.4.0
版
本-它没有兼容性问题。(不需要事先了解pip安装package==2.4.0 -
浏览 7
提问于2021-06-16
得票数 1
回答已采纳
3
回答
无法使用
ansible
ping服务器
、
请查找以下
错误
WARNING]: Unhandled error in
Python
interpreter discoveryinterpreter at /usr/bin/
python
, but future installation of another
Python
interpreter could change this=> { "
ansible
浏览 119
提问于2019-11-26
得票数 0
1
回答
当我使用
ansible
模块expect时,我得到了这个msg: pexpect
python
模块是必需
的
。
、
、
、
来自yml文件
的
一些代码: expect:当我运行剧本时,我会得到以下
错误
: TASK [
ansible
-portal
浏览 0
提问于2018-07-06
得票数 5
2
回答
ansible
-awx
的
Python
/bin/
Python
3上
的
问题(:docker (PythonPython2.7)或docker(
Python
2.6))
摘要:i已经完成了安装
ansible
-awx,请按照以下说明:当我在文件夹
中
运行命令
ansible
- -i inventory install.yml -vv时任务****=> {“已更改”:false,"msg":“未能在
ansible
-awx
的
Python
/bin/
Python
3上导入所需
的
Python
库(
python
3::>
浏览 0
提问于2020-07-09
得票数 0
回答已采纳
2
回答
使用命令/外壳模块会导致: ValueError:在多次运行时,密钥名称不能以下划线开头
Ansible
在使用shell或命令模块
的
每个任务上都会抛出
错误
,但在新机器上第一次运行时不会。 register: pigpiod_versionAn exception
浏览 8
提问于2019-07-25
得票数 3
回答已采纳
1
回答
运行(docker_image)模块时出错
、
我把我
的
docker图像放在nexus.当我尝试运行该攻略时,我遇到了
错误
攻略代码 --- become: True - name运行我
的
剧本时出错 任务拉取镜像* fatal: localhost: FAILED!=> {"changed":false,"msg":“(docker_image)模块不支持
的
参数:源支持
的
参数包括: api_version、archive_path、buil
浏览 21
提问于2020-07-26
得票数 0
回答已采纳
3
回答
在Windows上安装
Ansible
、
、
我正在尝试在一台Win10机器上安装
Ansible
。我已经按照指导安装了cygwin和所需
的
包:building 'Crypto.Random.OSRNG.winrandom' extension为什么我
的
C++ 14.0安装不被识别?我以管理员身份运行pip,在cygwin终端和常规PowerShell中都尝试过。
浏览 33
提问于2017-01-26
得票数 2
1
回答
为什么
ansible
-core 2.12不运行
Ansible
core 2.12?
我一直在更新一个
Ansible
项目,作为其中
的
一部分,我尝试更新关于
Ansible
版本
的
断言: assert:我认为该版本与安装
的
ansible
-core软件包
的
版本相对应,但情况似乎并非如此:它正在安装<em
浏览 1
提问于2022-03-17
得票数 0
6
回答
意外异常:调用
ansible
2时未定义名称'basestring‘
、
、
、
我在尝试执行
ansible
2
的
逗号..。当我这么做时:我得到:
回溯
pbex.run()文件"/usr/local/lib/
python
3.4/site-packages/
ansible
/execut
浏览 5
提问于2016-01-15
得票数 72
回答已采纳
1
回答
无法解析清单目录
、
我
的
库存是在修改后
的
默认Hosts文件
中
定义
的
。当我指定-i {inventory} {.yml}时,我收到一个
错误
:已配置模块搜索路径= u'/home/kjames/.
ansible
/plugins/modules',u'/
浏览 94
提问于2019-06-04
得票数 2
1
回答
如何使用
ansible
和pip安装
ansible
、
、
、
您好,我正在尝试用pip在ubuntu服务器Trusty64
中
使用vagrant和
ansible
来安装
ansible
。我使用角色来安装
python
3,在角色
中
安装
ansible
是: ---- name: install pip3 apt: name=
python
-dev
浏览 21
提问于2020-05-01
得票数 0
回答已采纳
1
回答
如何在MacOS Sierra上安装带有Brew
的
Ansible
2.4.x
、
、
brew install
ansible
安装了
Ansible
的当前版本(撰写本文时为2.5.x)。我有一个需要2.4
版
的
应用程序,不能与早期或更晚
的
版本一起工作。brew search
ansible
会导致以下结果:
ansible
✔
ansible
-lint
ansible
@2.0安装
ansible
@2.0
的
结果
浏览 0
提问于2018-06-10
得票数 4
1
回答
在MacOS上构建Stucco演示环境时出错
、
、
浅谈
中
的
说明失败: => {"failed":true,"item":"java_packages","msg":“没有与'java_packages‘
匹配
的
包可用”} 知道我该怎么
浏览 1
提问于2017-03-16
得票数 0
回答已采纳
2
回答
Ansible
msg:"winrm或请求未安装:无法导入名称证书“
、
、
我正在尝试使用
Ansible
的
win_ping模块从Linux控制机器上平平Windows主机。问题:$>
ansible
win -i .=winrm安装在我
的
Linux机器上
的
所有版本:*
浏览 1
提问于2019-01-04
得票数 1
2
回答
AWX文件副本找不到本地文件,复制到本地
的
文件不存在
、
在Awx
的
早期版本上完美运行
的
剧本在我们将AWX升级到4.0.0 (其中包含
Ansible
2.8.1)之后就失败了,在这个“拷贝”
中
找不到任何本地文件。我尝试过不同
的
位置,包括虚拟目录
中
的
/var/opt/rh/rh/rh-
python
36 36/和/opt/rh/rh-
python
36 36/root/tmp/
浏览 4
提问于2019-06-21
得票数 1
回答已采纳
2
回答
如何保持动态库嵌入C(.so文件)在不同版本之间
的
向后兼容性
、
、
、
我
的
程序需要导入xxx.so,这个xxx.so文件是在
Python
2.4下编译
的
。我想在
Python
2.7 &
Python
2.4下运行我
的
程序,但是在
Python
2.7下导入xxx.so时有一个
错误
,我知道这是由于与
Python
2.7
版
本不
匹配
造成
的
。我
的
问题是:是否应该编译xxx.so文件以
匹配
每个版本?
浏览 8
提问于2014-05-19
得票数 1
回答已采纳
3
回答
升级后可在控制器上使用
python
3
、
、
我想把
ansible
改成在控制器上使用
python
3.5。我已经安装了
ansible
和
python
3.5,有没有办法把它改成使用
python
3?
ansible
文档建议用
ansible
和
python
3 /usr/bin/
ansible
localhost -m ping测试
python
3。但如果这不起作用,就不要给出更多细节。我
的
结果是: Traceback (most
浏览 2
提问于2019-09-09
得票数 5
1
回答
找不到
Ansible
Python
插件
、
我一直在尝试使用
Ansible
Python
,正如他们
的
中所解释
的
那样。问题是,当我调用main()时,
Ansible
返回一个
错误
,上面写着:我在运行基于
ansible
的
2.10.8
版
本。我在
Ansi
浏览 5
提问于2021-04-17
得票数 0
回答已采纳
1
回答
防止
错误
: /bin/sh:-c:第0行:寻找
匹配
时意外
的
EOF“
、
当我尝试使用内置
的
Ansible
模块(ping)进行测试时,它会引发以下
错误
:dhcp-coreos155: line 1: syntax error: unexpected end of file\r\n", "rc": 1有趣
的
是我在失败
的
命
浏览 2
提问于2017-11-13
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
云直播
腾讯会议
实时音视频
活动推荐
运营活动
广告
关闭
领券