-
Bug
-
Resolution: Fixed
-
Major
-
Ubuntu 14.04 3.13.0-52-generic x86_64
Jenkins 1.655
ansible-plugin 0.4
Ansible 2.0.1.0
The problem happen only when I run playbook in the Jenkins. In normal use everything is ok.
The error message
TASK [fuel : ...] ****** task path: /var/lib/jenkins/jobs/Openstack Deploy/workspace/playbooks/openstack-deployment/roles/fuel/tasks/configure-pxe-server.yml:67 <192.168.54.11> ESTABLISH SSH CONNECTION FOR USER: None <192.168.54.11> SSH: EXEC sshpass -d14 ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o ControlPath=/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.54.11 '/bin/sh -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1459173837.21-165158381236189 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1459173837.21-165158381236189 `" )'"'"'' fatal: [fuel]: UNREACHABLE! => {"changed": false, "msg": "Authentication failure.", "unreachable": true} to retry, use: --limit @/var/lib/jenkins/jobs/Openstack Deploy/workspace/playbooks/openstack-deployment/kvm-fuel.retry
The task
- name: ... synchronize: src: /mnt/fueliso/ dest: '{{ tftp_root }}/fuel' delegate_to: '{{ delegate_host }}'
I changed "{{ delegate_host }}" to plain ip address "192.168.54.11" - it didn't help
The variable
delegate_host: '{{ ansible_default_ipv4.address }}'