Vagrant 환경설정을 설정하고 있는상황인데,
프로비저닝 도중 안된다...
계속 playbook 할때마다 아래와 같은 에러가 계속되었다.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
ssh node1
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
[vagrant@control .ssh]$ cd
[vagrant@control ~]$ ssh node2
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Vagrant destory 후 node 1 과 node2 로그인이 안됨
ssh-copy-id node1 을 한 후 상황 :
ssh-copy-id node1
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/vagrant/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.
같은 에러 발생!
ansible all -m ping
Error reading config file (/home/vagrant/work/ansible.cfg): File contains parsing errors: <???>
[line 8]: u' become=true\n'
[line 9]: u' #become_user=root\n'
[line 10]: u' #become_method=sudo\n'
해결하셨을까요 .. 저도 지금 몇일전부터 계속 이러는데 ㅠㅠㅠㅠ