美文网首页
window server 配置 ansible 功能

window server 配置 ansible 功能

作者: 人在囧途2 | 来源:发表于2021-11-19 18:04 被阅读0次

get-executionpolicy
set-executionpolicy remotesigned
winrm quickconfig
winrm enumerate winrm/config/listener
winrm set winrm/config/service/auth '@{Basic="true"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'

netsh advfirewall firewall add rule name="ansible" protocol=TCP dir=in localport=5986 action=allow

运行官方提供的powershell 脚本启动windows 服务。
脚本在百度云盘系统软件/soft/powershell升级包里面

转载:https://www.bbsmax.com/A/QV5ZVOey5y/
转载:https://www.cnblogs.com/endv/p/6540566.html

相关文章

网友评论

      本文标题:window server 配置 ansible 功能

      本文链接:https://www.haomeiwen.com/subject/otcsnktx.html