1. 程式人生 > >ansible 配置了端口在host文件但是還要走22 ip:60001 ansible_ssh_port=60001

ansible 配置了端口在host文件但是還要走22 ip:60001 ansible_ssh_port=60001

nec msg cti fail fuse host 文件 true hab

fatal: [101.251.194.102]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 101.251.194.102 port 22: Connection refused\r\n", "unreachable": true}

ansible_ssh_port=60001

ansible 配置了端口在host文件但是還要走22 ip:60001 ansible_ssh_port=60001