# AWX install failed

**URL:** <https://forum.ansible.com/t/awx-install-failed/32156>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 6, 2020, 12:37pm UTC](https://forum.ansible.com/t/awx-install-failed/32156 "2020-02-06T12:37:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 6, 2020, 12:37pm UTC](https://forum.ansible.com/t/awx-install-failed/32156/1 "2020-02-06T12:37:45Z")

</div>

Guys,

I try to install AWX but it failed at this step:

TASK [local\_docker : Create Docker Compose Configuration] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /awx/installer/roles/local\_docker/tasks/compose.yml:7  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
failed: [localhost] (item=environment.sh) =\> {  
“changed”: false,  
“item”: “environment.sh”,  
“msg”: “AnsibleError: Unexpected templating type error occurred on (DATABASE\_USER={{ pg\_username|quote }}\nDATABASE\_NAME={{ pg\_database|quote }}\nDATABASE\_HOST={{ pg\_hostname|default(‘postgres’)|quote }}\nDATABASE\_PORT={{ pg\_port|default(‘5432’)|quote }}\nDATABASE\_PASSWORD={{ pg\_password|default(‘awxpass’)|quote }}\n{% if pg\_admin\_password is defined %}\nDATABASE\_ADMIN\_PASSWORD={{ pg\_admin\_password|quote }}\n{% endif %}\nMEMCACHED\_HOST={{ memcached\_hostname|default(‘memcached’) }}\nMEMCACHED\_PORT={{ memcached\_port|default(‘11211’)|quote }}\nRABBITMQ\_HOST={{ rabbitmq\_hostname|default(‘rabbitmq’)|quote }}\nRABBITMQ\_PORT={{ rabbitmq\_port|default(‘5672’)|quote }}\nAWX\_ADMIN\_USER={{ admin\_user|quote }}\nAWX\_ADMIN\_PASSWORD={{ admin\_password|quote }}\n): ‘int’ object is not iterable”  
}

---

<div class="post-metadata">

**Author:** ![r4f](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@r4f](https://forum.ansible.com/u/r4f)\
**Post date:** [February 11, 2020, 12:14pm UTC](https://forum.ansible.com/t/awx-install-failed/32156/2 "2020-02-11T12:14:23Z")

</div>

Hello,

Can you check the file you have modified for your installation ? It seems you have a typo in environment.sh file.

---

<div class="post-metadata">

**Author:** ![Blacksensei](https://avatars.discourse-cdn.com/v4/letter/b/b5ac83/32.png) [@Blacksensei](https://forum.ansible.com/u/Blacksensei)\
**Post date:** [February 22, 2020, 4:57pm UTC](https://forum.ansible.com/t/awx-install-failed/32156/3 "2020-02-22T16:57:01Z")

</div>

Hello Pierre,

check if this is due to a strong password that’s breaking the templating. I have run into a similar issue with rabbitmq password and I had to dilute the password for the script to run.  
I hope this helps
