Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@db1e9105692d jenkins-playbook]# ansible-playbook jenkins.yml -k -vvv
- SSH password:
- PLAY [localhost] **************************************************************
- GATHERING FACTS ***************************************************************
- <localhost> ESTABLISH CONNECTION FOR USER: root
- <localhost> REMOTE_MODULE setup
- <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'
- EXEC previous known host file not found for localhost
- fatal: [localhost] => SSH Error: ssh: connect to host localhost port 22: Connection refused
- while connecting to 127.0.0.1:22
- It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
- TASK: [jenkins | Include OS-Specific variables] *******************************
- <localhost> ESTABLISH CONNECTION FOR USER: root
- fatal: [localhost] => One or more undefined variables: 'ansible_os_family' is undefined
- FATAL: all hosts have already failed -- aborting
- PLAY RECAP ********************************************************************
- to retry, use: --limit @/root/jenkins.retry
- localhost : ok=0 changed=0 unreachable=2 failed=0
- fatal: [localhost] => One or more undefined variables: 'ansible_os_family' is undefined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement