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ł:
>
> 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?
>
--
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/ab1e903c-d80d-45f3-87af-559b5cc95c2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.