Hi Aye, Tower install questions should be directed at [email protected]. Thanks!
James Cammarata Director, Ansible Core Engineering github: jimi-c On Thu, Sep 17, 2015 at 3:45 PM, ayekaymail <[email protected]> wrote: > 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 > > [[email protected] 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 ? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/50728609-a53b-44ae-9080-eaa137459048%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/50728609-a53b-44ae-9080-eaa137459048%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFjTq%3DbpNh_LxpdB6sDaB7otzJfkc2brzrz0dWcpHFFA%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
