AWX install failed

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”
}

Hello,

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

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