Делаю на VPS так: 1. Manage Hosts in the pool > 1. Add new host in the pool Ввожу "server2" и выдаёт ошибку:
Скрытый текст
ANSIBLE_COPY_ERR: 2 ANSIBLE_COPY_MSG: The error occurred, server return 106: please view log file /opt/webdir/logs/ssh_keycopy.log Error when upload sshkey to host server2. Please view log in /opt/webdir/logs/ssh_keycopy.log
Следую рекомендации и смотрю файл логов
Скрытый текст
01-16-15_22:21:05: SSH_INIT - get key text from file 01-16-15_22:21:05: SSH_INIT - root connect to server2:22 01-16-15_22:21:05: SSH_CONNECT - Could not resolve hostname server2:22
Пишет: 10-20-15_14:36:25: SSH_INIT - get key text from file 10-20-15_14:36:25: SSH_INIT - root connect to 192.168.10.188:22 10-20-15_14:36:25: SSH_CONNECT - No route to host 192.168.10.188:22