AWX 21.0 - unable to locate collection community.general

599 views
Skip to first unread message

RAJ SPEED

unread,
Jun 17, 2022, 9:34:53 AM6/17/22
to AWX Project
Hi All,

Whenever I executed my job.  awx is failing to install new modules or detect requirements.yml

I tried using projects/collections/requirements.yml , inside my playbook
& even tried to mention as  below  in mail.yml 
collections: 
  -name:  community.general.

Can someone help to guide, how to install required collection dependencies.

Donny Ta

unread,
Jun 17, 2022, 12:50:13 PM6/17/22
to AWX Project
After AWX version 18 or so, your tasks/jobs run from an Execution Environment (EE) container. The EE that AWX pulls in by default may not have the ansible collections or pip modules that you need. In that case, you will need to build your own EE.

Here's the section on how to build it on their github: ansible/ansible-builder: An Ansible execution environment builder (github.com)

Reply all
Reply to author
Forward
0 new messages