root@localhost ~]# ansible 192.168.45.142 -a "/sbin/reboot"
Enter passphrase for key '/root/.ssh/id_rsa':
192.168.45.142 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Shared connection to 192.168.45.142 closed.\r\n",
"unreachable": true
}
[root@localhost ~]#
Enter passphrase for key '/root/.ssh/id_rsa':
192.168.45.142 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Shared connection to 192.168.45.142 closed.\r\n",
"unreachable": true
}
[root@localhost ~]#
Comments
Post a Comment