Ansible Tower Install Failure

630 views
Skip to first unread message

ayekaymail

unread,
Sep 17, 2015, 4:08:45 PM9/17/15
to Ansible Project
Hello Everyone

I am new to Ansible and trying to get Ansible and Ansible Tower Installed for quick proof of concept assignment. Both these pieces are being installed on the same server VM

Ansible installation has been successfully completed

[root@myhost.com installers]# ansible --version
ansible
2.0.0
  config file
=
  configured
module search path = None



Next Steps, I am trying to install Ansible Tower 2.2.2 on top of the Ansible install. An external PostgreSQL database on a remote machine is used.

After running the configure script the tower_setup_conf.yml is created as below  ( passwords & IPs are masked on this post)

admin_password
: *******  
ansible_ask_pass
: true
ansible_ask_sudo_pass
: false
ansible_ssh_user
: test_account
ansible_sudo
: true
database
: external
mongo
: false
munin_password
: ******
pg_database
: ansible
pg_host
: 1.2.3.4
pg_password
: testing1234
pg_port
: 5432
pg_username
: ansible
primary_machine
: myhost.com
redis_password
: PTQzmDTZkwB57HDjrWsKFVqhY9dwMtCVcjJrNtdC
using_ssh_host_keys
: false


I updated the setup.sh script to print out verbose output - Line 148
ansible-playbook -i "${INVENTORY_FILE}" -vvv --sudo \


On executing the setup.sh, it execution breaks stating its unable to connect to the host - which is surprising as its the same server. I have also tried to run this tower against another remote host without luck and the same error is encountered.

[root@myhost ansible-tower-setup-2.2.2]# ./setup.sh -p
Using /opt/installer/ansible-tower-setup-2.2.2/ansible.cfg as config file
SSH password
:
4 plays in install.yml

PLAY
***************************************************************************

TASK
[setup] *******************************************************************
<myhost.com> ESTABLISH CONNECTION FOR USER: test_account on PORT 22 TO myhost.com
fatal: [myhost.com]: UNREACHABLE! => {"changed": false, "msg": "ERROR! connect() got an unexpected keyword argument 'compress'", "unreachable": true}

PLAY
***************************************************************************
skipping
: no hosts matched

PLAY
***************************************************************************

PLAY
***************************************************************************

PLAY RECAP
*********************************************************************
myhost.com : ok=0    changed=0    unreachable=1    failed=0

Oops!  An error occured while running setup.
/var/log/tower does not exist.
Setup log saved to setup.log.

Any pointers on what I may be missing here ?

James Cammarata

unread,
Sep 17, 2015, 4:09:47 PM9/17/15
to ansible...@googlegroups.com
Hi Aye, Tower install questions should be directed at sup...@ansible.com.

Thanks!

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/50728609-a53b-44ae-9080-eaa137459048%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ayekaymail

unread,
Sep 17, 2015, 4:19:43 PM9/17/15
to Ansible Project
Thanks James. I'll email them
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages