Monday, November 21, 2016

Ansible Tower, Please Configure Passwords In The Inventory File - UPDATE-

So I previously posted about installing Ansible Tower and the trickiness with teh Inventory file.  Well it took two weeks and Red Hat support emails but I finally got Tower installed fully and with zero errors.

Ok so the environment I have is for testing alone, so both Tower and teh db are on localhost... because localhost is best host.  Anyway so you have to set the database variable to localhost plus specifying localhost and port 5432.. see below:

[primary]
localhost ansible_connection=local
[secondary]
[database]
localhost
[all:vars]
admin_password='passwd_here'
redis_password='passwd_here'
pg_host='localhost'
pg_port='5432'
pg_database='awx'
pg_username='awx'
pg_password='passwd_here'

No comments:

Post a Comment