Skip to content

Automation Task fails with "Failed to import the required Python library (requests) on <container_id>"  #5

@parmstro

Description

@parmstro

TASK [cvpublisher : Update the Errata-by-date filter for content views] ********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'requests'
failed: [controller1.example.ca] (item={'date_filter_name': 'ErrataByDate', 'name': 'EPEL8'}) => {"ansible_loop_var": "item", "changed": false, "item": {"date_filter_name": "ErrataByDate", "name": "EPEL8"}, "msg": "Failed to import the required Python library (requests) on 8878ebc858ff'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"}

This is related to the ee build.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions