Ansible管理windows服务器-windows配置,ansible-windows


1,powershell版本高于3.0

2,打开PowerShell执行命令:set-executionpolicy -executionpolicy unrestricted


3,执行winrm配置脚本,并查看配置:脚本下载地址:http://download.csdn.net/detail/lvmaolin1/9622083


4,打开参数:allowunencrypted



管理机尝试连接:

报错1:[Errno 111]connection refused

解决:执行配置脚本,参考步骤3

报错2:thespecified credentials were rejected by the server

解决:调整参数,参考步骤4





相关内容

    暂无相关文章