Advertisement
Guest User

Ansible error

a guest
May 23rd, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. ansible-playbook -l poc ./playbooks/services/poc.yml -k -u root --ask-vault-pass -vvvvv
  2. SSH password:
  3. Vault password:
  4.  
  5. PLAY [Install POC server] *****************************************************
  6.  
  7. GATHERING FACTS ***************************************************************
  8. <******> ESTABLISH CONNECTION FOR USER: root
  9. <******> REMOTE_MODULE setup
  10. <*******> EXEC sshpass -d8 ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/tom/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o User=root -o ConnectTimeout=10 10.96.123.110 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1495551001.53-20819085062184 && echo $HOME/.ansible/tmp/ansible-tmp-1495551001.53-20819085062184'
  11. fatal: [****] => SSH Error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive).
  12. while connecting to ******:22
  13. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  14.  
  15. TASK: [ntp_server | ntp install] **********************************************
  16. FATAL: no hosts matched or all hosts have already failed -- aborting
  17.  
  18.  
  19. PLAY RECAP ********************************************************************
  20. to retry, use: --limit @/home/tom /poc.retry
  21. *** : ok=0 changed=0 unreachable=1 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement