Olá.
Já revirei este google, mas não encontro a solução para o meu problema. Quando rodo
ansible-playbook provising.yml -u vagrant -i hosts --private-key .vagrant/machines/wordpress/virtualbox/private_key
tenho como erro de retorno:
< TASK [Gathering Facts] >
------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
fatal: [172.17.177.40]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that a host key has just been changed.\r\nThe fingerprint for the ECDSA key sent by the remote host is\nSHA256:kioK1QrvmUV5P8Kujfj+AoKSRvk0pNuRWiiqVe+C3Q8.\r\nPlease contact your system administrator.\r\nAdd correct host key in /home/salatux/.ssh/known_hosts to get rid of this message.\r\nOffending ECDSA key in /home/salatux/.ssh/known_hosts:1\r\n remove with:\r\n ssh-keygen -f \"/home/salatux/.ssh/known_hosts\" -R \"172.17.177.40\"\r\nECDSA host key for 172.17.177.40 has changed and you have requested strict checking.\r\nHost key verification failed.\r\n", "unreachable": true}
to retry, use: --limit @/home/salatux/Devops/Ansible/provising.retry
Antes eu rodei um
vagrant up
Meus arquivos: host
[wordpress]
172.17.177.40
Alguém pode me ajudar?