Bug 2070248

Summary: [RFE: EPEL9] EPEL9 branch for ansible
Product: [Fedora] Fedora EPEL Reporter: Navneet <nnavneet1001>
Component: ansibleAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: a.badger, dmsimard, kevin, maxwell, patrick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-5.4.0-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-26 02:56:16 UTC 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 Navneet 2022-03-30 17:44:06 UTC
Description of problem:


Please branch and build ansible in epel9.

Comment 1 Navneet 2022-04-06 10:56:05 UTC
Will you be able to branch and build ansible in epel9?

Comment 2 Kevin Fenzi 2022-04-06 21:40:22 UTC
Possibly yes. 

Do note that ansible-core (the engine) is already available in RHEL9/CentOS-stream-9. 

"ansible" the collection of collections requires ansible-core. 

We may be able to build it in epel9, it's going to take some investigation.

Comment 3 Maxwell G 2022-04-07 00:12:13 UTC
It builds from the Fedora specfile without issue. The only problem is that the ansible-core minor version in EL9 might lag the version that ansible requires (and thus the version generated by the dependency generator). I suppose we can patch ansible's setup.py to get around this.

```
sudo dnf install ./results_ansible/5.6.0/1.el9/ansible-5.6.0-1.el9.noarch.rpm
Last metadata expiration check: 0:40:22 ago on Wed Apr  6 23:30:24 2022.
Error: 
 Problem: conflicting requests
  - nothing provides (python3.9dist(ansible-core) >= 2.12.4 with python3.9dist(ansible-core) < 2.13) needed by ansible-5.6.0-1.el9.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```

Comment 4 Kevin Fenzi 2022-04-07 20:14:27 UTC
I think it would be safer/better to just keep the ansible version compatible with the ansible-core version and only upgrade when ansible-core gets upgraded.

Comment 5 Navneet 2022-05-05 07:12:44 UTC
Should I open a bug to upgrade ansible-core in epel9?

Comment 6 Kevin Fenzi 2022-05-05 20:49:04 UTC
Well, I am not sure how open they would be to doing that... I guess it couldn't hurt. 

In the mean time we can just downgrade to a ansible-5.x version that works with 2.12.3?

Comment 7 Fedora Update System 2022-05-17 01:01:17 UTC
FEDORA-EPEL-2022-73e215eb5c has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-73e215eb5c

Comment 8 Fedora Update System 2022-05-18 03:05:16 UTC
FEDORA-EPEL-2022-73e215eb5c has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-73e215eb5c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-05-26 02:56:16 UTC
FEDORA-EPEL-2022-73e215eb5c has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.