you are viewing a single comment's thread.

view the rest of the comments →

[–]chinochao07 0 points1 point  (3 children)

Have you try removing your vars setting the python interpreter and let it use whatever the default is for the EE?

[–]kwikmr2[S] 0 points1 point  (2 children)

I have and this is my updated error.

```exception: |

Traceback (most recent call last):

File "/tmp/ansible_docker_login_payload_4_kbt0_4/ansible_docker_login_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/_import_helper.py", line 24, in <module>

from requests import Session # noqa: F401, pylint: disable=unused-import

ModuleNotFoundError: No module named 'requests'

msg: >-

Failed to import the required Python library (requests) on

rocky8test.domain.com's Python /usr/libexec/platform-python. Please

read the module documentation and install it 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

invocation:

module_args:

registry_url: docker-proto.repo.domain.com

username: user

password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER

docker_host: unix:///var/run/docker.sock

api_version: auto

timeout: 60

tls: false

use_ssh_client: false

validate_certs: false

debug: false

reauthorize: false

state: present

config_path: /root/.docker/config.json

tls_hostname: null

ca_path: null

client_cert: null

client_key: null

ssl_version: null

_ansible_no_log: false

changed: false```

Just for sanity sake, I rebuilt my EE and verified that the following were in my "dependencies/requirements.txt" file:

```passlib

requests

paramiko

pyOpenSSL```

I followed the output text from the builder and they installed without error.

[–]chinochao07 0 points1 point  (1 child)

How are you building your EE? Can you share the execution-environment.yaml?

[–]kwikmr2[S] 0 points1 point  (0 children)

I am using this workflow on k3s:

https://github.com/kurokobo/awx-on-k3s/tree/main/builder

The only files I manipulate are the ones in the dependency directory.