Tower: setup.sh fails with "Please configure passwords in the inventory file before running setup"

inventory:

[primary]
localhost ansible_connection=local

[secondary]

[database]

[all:vars]
admin_password=‘p1’
redis_password=‘p1’
pg_password=‘p1’

#pg_host=‘’
#pg_port=‘’

pg_database=‘awx’
pg_username=‘awx’
pg_password=‘’

sudo ./setup.sh fails with following error:

`

TASK: [preflight | Preflight check - Passwords must be defined for a fresh install] ***
failed: [localhost] => {“failed”: true, “item”: “”}
msg: Please configure passwords in the inventory file before running setup

FATAL: all hosts have already failed – aborting

`

What I’m missing?

in Your file there is empy pg pass:
pg_password=’ ’

correct it and start install again

W dniu piątek, 22 lipca 2016 14:35:40 UTC+2 użytkownik Vasily Kirichenko napisał: