-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I am having the same issue. My install is on Rocky 8 (CentOS8 based). This is the section it keeps failing:
TASK [miracle-ansible-role-awxrpm-scl-installer : Run awxprepare] ************************************************* fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/awxprepare.sh", "delta": "0:00:00.013633", "end": "2022-01-22 00:56:45.511853", "msg": "non-zero return code", "rc": 2, "start": "2022-01-22 00:56:45.498220", "stderr": "/var/tmp/sclK1PBoS: line 5: awx-manage: command not found\n/usr/local/bin/awxprepare.sh: line 5: syntax error near unexpected token 'admin','\n/usr/local/bin/awxprepare.sh: line 5: echo \"from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'root@localhost', 'password')\" | GIT_PYTHON_REFRESH=quiet scl enable miracle-awxrpm \"awx-manage shell \"'", "stderr_lines": ["/var/tmp/sclK1PBoS: line 5: awx-manage: command not found", "/usr/local/bin/awxprepare.sh: line 5: syntax error near unexpected token 'admin','", "/usr/local/bin/awxprepare.sh: line 5: echo \"from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'root@localhost', 'password')\" | GIT_PYTHON_REFRESH=quiet scl enable miracle-awxrpm \"awx-manage shell \"'"], "stdout": "", "stdout_lines": []}
I have tried many times to even load awx-manage local, installed Ansible-tower-cli. Any suggestions or ideas?