Advertisement
Guest User

Untitled

a guest
Feb 4th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. [root@db1e9105692d jenkins-playbook]# ansible-playbook jenkins.yml -k -vvv
  2. SSH password:
  3.  
  4. PLAY [localhost] **************************************************************
  5.  
  6. GATHERING FACTS ***************************************************************
  7. <localhost> ESTABLISH CONNECTION FOR USER: root
  8. <localhost> REMOTE_MODULE setup
  9. <localhost> EXEC sshpass -d4 ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o ConnectTimeout=10 localhost /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1454580537.38-114451000565344 && echo $HOME/.ansible/tmp/ansible-tmp-1454580537.38-114451000565344'
  10. EXEC previous known host file not found for localhost
  11. fatal: [localhost] => SSH Error: ssh: connect to host localhost port 22: Connection refused
  12. while connecting to 127.0.0.1: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: [jenkins | Include OS-Specific variables] *******************************
  16. <localhost> ESTABLISH CONNECTION FOR USER: root
  17. fatal: [localhost] => One or more undefined variables: 'ansible_os_family' is undefined
  18.  
  19. FATAL: all hosts have already failed -- aborting
  20.  
  21. PLAY RECAP ********************************************************************
  22. to retry, use: --limit @/root/jenkins.retry
  23.  
  24. localhost : ok=0 changed=0 unreachable=2 failed=0
  25.  
  26. fatal: [localhost] => One or more undefined variables: 'ansible_os_family' is undefined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement