172.0.0.100 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: \nAuthorized users only. All activities may be monitored and reported.\nroot@172.0.0.100: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachable": true }
ansible脚本无法ssh登录到inventory_file中配置的服务器上。
请检查对应服务器的ssh配置是否正确,ssh服务是否启动,以及inventory_file文件配置是否正确。