# Ansible Tower stuck on "Host verification"

**URL:** <https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268>\
**Category:** Ansible Project\
**Created:** [May 20, 2015, 8:22am UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268 "2015-05-20T08:22:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andres\_Ivanov](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@Andres\_Ivanov](https://forum.ansible.com/u/Andres_Ivanov)\
**Post date:** [May 20, 2015, 8:22am UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268/1 "2015-05-20T08:22:12Z")

</div>

Hello,

I’m trying to learn Ansible and started with installing Ansible with Tower UI.  
Tried simple “Helloworld” echo task that fails on Tower but works manually through ansible-playbook.

I need to connect to Host through ProxyCommand so my playbook configuration looks like this:

- Helloworld
- ansible.cfg
- ssh.config
- helloworld.yml  
In ansible.cfg:

_"[ssh\_connection]_  
_ssh\_args = -F ssh.config -o ControlPersist=15m -o ControlMaster=auto -o UserKnownHostsFile=/dev/null_  
_control\_path = %(directory)s/%%h-%%r_  
_[defaults]_  
_system\_errors = false_  
_hostfile = /etc/ansible/hosts_  
_library = /usr/share/ansible_  
_host\_key\_checking = False_  
_ask\_sudo\_pass = False_  
_pattern = \*_  
_timeout = 10_  
_poll\_interval = 15"_

In ssh.config:  
_"Host x.x.x.50_  
_User user_  
_ProxyCommand ssh user@x.x.x.60 nc %h %p_  
_StrictHostKeyChecking no_  
_UserKnownHostsFile=/dev/null_

_Host x.x.x.60_  
_User user_  
_ProxyCommand none_  
_StrictHostKeyChecking no_  
_UserKnownHostsFile=/dev/null"_

Playbook is a simple echo with a user “user”. Running manually ansible-playbook or ansible ping works fine on both hosts and it successfully hops to x.x.x.50. However on Tower it works on single x.60 server but gets stuck on x.50.

Stuck on x.50:  
_"\<x.x.x.50\> REMOTE\_MODULE setup_  
_\< **x.x.x.50** \> EXEC ssh -C -tt -v -F ssh.config -o ControlPersist=15m -o ControlMaster=auto -o UserKnownHostsFile=/dev/null -o ControlPath=“/tmp/ansible\_tower\_5VA1fm/cp/ansible-ssh-%h-%p-%r” -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=user -o ConnectTimeout=10_ _x.x.x.50_ _/bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1432108998.93-90931163714921 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1432108998.93-90931163714921 && echo $HOME/.ansible/tmp/ansible-tmp-1432108998.93-90931163714921’ EXEC previous known host file not found for_ _x.x.x.50_ \*The authenticity of host '\*_x.x.x.60_ _( **x.x.x.60** )’ can’t be established… Are you sure you want to continue connecting (yes/no)?"_

Only difference i see is that manually running ansible-playbook uses different ControlPath. I’ve also tried putting custom ControlPaths even setting it in ssh\_args manually and it changes fine when running ansible-playbook manually, but in Tower the path always stays the same tmp/… path.

Can anyone help me figure out what could be the problem? Is the problem that Tower is using tmp/ for ControlPath and it’s not persistant before running ProxyCommand? Any ideas how to fix it?

---

<div class="post-metadata">

**Author:** ![Timothy\_Gerla](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@Timothy\_Gerla](https://forum.ansible.com/u/Timothy_Gerla)\
**Post date:** [May 20, 2015, 1:05pm UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268/2 "2015-05-20T13:05:07Z")

</div>

Hi Andres,

Can you email [support@ansible.com](mailto:support@ansible.com) with your issue? We’ll be happy to help. This mailing list is primarily for Ansible open source support only, but we can help you with Tower questions directly. Thanks!

-Tim

---

<div class="post-metadata">

**Author:** ![Aaron\_Zuehlke](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaron\_Zuehlke](https://forum.ansible.com/u/Aaron_Zuehlke)\
**Post date:** [May 20, 2015, 5:01pm UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268/3 "2015-05-20T17:01:46Z")

</div>

I had a similar issue. Make sure you have exec rights in tmp

---

<div class="post-metadata">

**Author:** ![Aaron\_Zuehlke](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@Aaron\_Zuehlke](https://forum.ansible.com/u/Aaron_Zuehlke)\
**Post date:** [May 20, 2015, 5:13pm UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268/4 "2015-05-20T17:13:02Z")

</div>

I had a similar issue. Make sure you have exec rights in tmp
