Bug 2100315 - ansible 5.4 needs additional dependencies
Summary: ansible 5.4 needs additional dependencies
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ansible
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-23 03:26 UTC by Sketch
Modified: 2022-06-23 17:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.