Hello,
I am running into some issues trying to deploy AWX 17.1.0 on podman 2.2.1 on CentOS S8-Stream.
I am getting the following errors while deploying:
TASK [local_docker : Render SECRET_KEY file] **********************************************************************************************************************************************************************
changed: [localhost]
TASK [local_docker : Remove AWX containers before migrating postgres so that the old postgres container does not get used] ****************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on podman01's Python /usr/bin/python3. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter, for example via `pip install docker` or `pip install docker-py` (Python 2.6). The error was: No module named 'docker'"}
...ignoring
TASK [local_docker : Run migrations in task container] ************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker-compose run --rm --service-ports task awx-manage migrate --no-input", "delta": "0:00:00.006280", "end": "2021-03-22 14:01:30.545752", "msg": "non-zero return code", "rc": 127, "start": "2021-03-22 14:01:30.539472", "stderr": "/bin/sh: docker-compose: command not found", "stderr_lines": ["/bin/sh: docker-compose: command not found"], "stdout": "", "stdout_lines": []}
PLAY RECAP ********************************************************************************************************************************************************************************************************
localhost : ok=15 changed=7 unreachable=0 failed=1 skipped=73 rescued=0 ignored=2
[podman01 installer]$
Do I still need docker-py?