# Ansilbe tower install fail

**URL:** <https://forum.ansible.com/t/ansilbe-tower-install-fail/26880>\
**Category:** Ansible Project\
**Created:** [March 1, 2018, 9:18pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880 "2018-03-01T21:18:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Reddy](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Abhishek\_Reddy](https://forum.ansible.com/u/Abhishek_Reddy)\
**Post date:** [March 1, 2018, 9:18pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880/1 "2018-03-01T21:18:46Z")

</div>

Hi,

I’m trying to install ansible tower version of 3.2.3-1.el7.x86\_64 on a redhat 7.4 OS.

i’m getting error as

TASK [postgres : create the postgres user and set the password] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

<div class="post-metadata">

**Author:** ![Varun\_Chopra](https://avatars.discourse-cdn.com/v4/letter/v/54ee81/32.png) [@Varun\_Chopra](https://forum.ansible.com/u/Varun_Chopra)\
**Post date:** [March 5, 2018, 1:32pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880/2 "2018-03-05T13:32:56Z")

</div>

There’s no point in making changes to the playbook(s). It’s probably an issue with your inventory.

---

<div class="post-metadata">

**Author:** ![rjwagner.dba](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Post date:** [July 24, 2018, 1:21pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880/3 "2018-07-24T13:21:11Z")

</div>

I’m hitting this issue, too, on 3.2.5. What’s wrong with my inventory:

rowagn@dbatower01:~/ansible-tower-setup-bundle-3.2.5-1.el7#\> more inventory  
[tower]  
localhost ansible\_connection=local

[database]

[all:vars]  
admin\_password=‘xxx’

pg\_host=‘’  
pg\_port=‘’

pg\_database=‘awx’  
pg\_username=‘awx’  
pg\_password=‘xxx’

rabbitmq\_port=5672  
rabbitmq\_vhost=tower  
rabbitmq\_username=tower  
rabbitmq\_password=‘xxx’  
rabbitmq\_cookie=cookiemonster

# Needs to be true for fqdns and ip addresses

rabbitmq\_use\_long\_name=false

# Isolated Tower nodes automatically generate an RSA key for authentication;

# To disable this behavior, set this value to false

# isolated\_key\_generation=true

---

<div class="post-metadata">

**Author:** ![rjwagner.dba](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Post date:** [July 24, 2018, 3:17pm UTC](https://forum.ansible.com/t/ansilbe-tower-install-fail/26880/4 "2018-07-24T15:17:16Z")

</div>

My problem isn’t the inventory, it’s that roles/postgres/tasks/conf.yml includes a “become\_user: postgres.” Our environment precludes root from having sudo privs. This is actually breaking several parts of the installation.
