朋友,
我正在尝试对一个EC2实例运行一些可分析的任务,并得到以下错误:
fatal: [ubuntu]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to
the host via ssh: ssh: connect to host 34.218.130.84 port 22:connection timed out",
"unreachable": true}
我认为,问题与Ansible配置有关,因为我尝试使用相同的IP、用户名和pem-f
假设我需要对特定的剧本进行测试运行。我无法访问ansible配置文件,也无法更改剧本本身(我从某个人的存储库下载它)。鉴于以上所述,如何在该测试运行中禁用弃用警告?它是否可以使用,例如额外的vars?示例反对意见警告:
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host 10.246.54.235
should use /usr/bin/python3, but is using /usr/bin/python for backward
compatibility with prior Ansible releases.
以下代码在
可以给我一个关于Ansible和Windows主机的提示吗?我已经设置了Ansible服务器和Windows主机。我无法执行win_ping。看起来我把服务器上的配置搞乱了。 ansible win -m win_ping
Error message:
192.168.178.10 | FAILED! => {
"msg": "the connection plugin 'winrm ## The kind of connection which ansible will make with remote windows node'