【Ansible】Ansible控制windows插件安装及运行error与解决方法

简介: 一、 问:因pip版本问题无法安装kerberos 答:安装提示需要先安装pip升级包 下载pip9.0.1升级包: https://pypi.python.org/packages/b6/ac/7015eb97dc749283ffdec1c3a88ddb8ae03b8fad0f0e611408f196358da3/pip-9.

一、 问:因pip版本问题无法安装kerberos
1

答:安装提示需要先安装pip升级包

下载pip9.0.1升级包:

![1_2]

二、问:安装kerberos报错
2

答:需要先安装libkrb5开发包

2_1

安装后解决
三、问:安装.Net 3.0以上,升级powershell-3.0后ansible依旧报错
3

答:原因没有配置winrm

必须将winrm的配置文件设置成下面配置

winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/service/auth '@{Basic="true"}'

3_1

四、问:ansible控制Windows主机error1
4

答:将配置文件/etc/ansible/hosts端口5986改成5985,即可解决。

4_1

原因:

DefaultPorts

HTTP = 5985

HTTPS = 5986

上述错误是因为ssl选项是关着的

五、问:Win_7_x64 安装Windows6.1-KB2506143-x64.msu 提示“此更新不适应于您的计算机”

答:安装.Net Framework 4.0(3.0以上)即可解决

六、问:执行ansible命令出现OutOfMemory错误
6

答:对被控windows主机打一个关于WMF 3.0 的hotfix,链接如下:

本文《Ansible控制windows插件安装及运行error与解决方法》
首发于乐维论坛,欢迎来访~~

相关文章
|
2月前
|
机器学习/深度学习 并行计算 异构计算
WINDOWS安装eiseg遇到的问题和解决方法
通过本文的详细步骤和问题解决方法,希望能帮助你顺利在 Windows 系统上安装和运行 EISeg。
126 2
|
4月前
|
弹性计算 安全 网络安全
阿里云国际版无法远程连接Windows服务器的解决方法
阿里云国际版无法远程连接Windows服务器的解决方法
|
4月前
|
资源调度 编译器 Linux
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
125 0
|
5月前
|
Windows
Windows7电脑启动时提示文件winload.exe无法验证其数字签名,错误代码0xc0000428的解决方法
Windows7电脑启动时提示文件winload.exe无法验证其数字签名,错误代码0xc0000428的解决方法
|
6月前
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
|
6月前
|
存储 Ubuntu Linux
在Ubuntu 14.04上安装和配置Ansible的方法
在Ubuntu 14.04上安装和配置Ansible的方法
46 1
|
7月前
|
Serverless 网络安全 Python
Ansible原理和安装
Ansible原理和安装
111 1
|
6月前
|
XML 数据格式 Windows
【Azure 云服务】Azure Cloud Service (Extended Support) 云服务开启诊断日志插件 WAD Extension (Windows Azure Diagnostic) 无法正常工作的原因
【Azure 云服务】Azure Cloud Service (Extended Support) 云服务开启诊断日志插件 WAD Extension (Windows Azure Diagnostic) 无法正常工作的原因
|
6月前
|
Linux Python Windows
【Azure 环境】Windows中安装Python azure-eventhub-checkpointstoreblob-aio模块时出错 ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
【Azure 环境】Windows中安装Python azure-eventhub-checkpointstoreblob-aio模块时出错 ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
|
6月前
|
JSON 运维 Ubuntu
在Ubuntu 18.04上安装和配置Ansible的方法
在Ubuntu 18.04上安装和配置Ansible的方法
89 0