Bug 2100315

Summary: ansible 5.4 needs additional dependencies
Product: [Fedora] Fedora EPEL Reporter: Sketch <redhat-bugzilla>
Component: ansibleAssignee: Kevin Fenzi <kevin>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: a.badger, dmsimard, kevin, maxwell, patrick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sketch 2022-06-23 03:26:39 UTC
Description of problem:

The ansible package in EPEL8 ships with plugins which are broken without additional python3.8 packages.

So far, I've found three
/usr/lib/python3.8/site-packages/ansible_collections/ansible/netcommon/plugins/filter/ipaddr.py requires python38-netaddr (already in EPEL)
/usr/lib/python3.8/site-packages/ansible_collections/ansible/community/general/plugins/filter/json_query.py requires python38-jmespath (already in EPEL)
/usr/lib/python3.8/site-packages/ansible_collections/community/general/plugins/lookup/dig.py requires python38-dns (NOT in EPEL, but I was able to build it easily from the source package in base)

Version-Release number of selected component (if applicable):

ansible-5.4.0-2.el8.noarch

How reproducible:

Attempt to use any of the above plugins in ansible.

Actual results:

ansible run errors out due to missing python modules.

Expected results:

Shipped plugins work as expected.

Comment 1 Kevin Fenzi 2022-06-23 17:03:42 UTC
For filter/lookup plugins (things that would need to run on the control host) I suppose we can add recommends. (and add a python38-dns I guess). 

We want to be very careful though not to add too many deps, especially things that aren't on the control host.