Bug 2038267

Summary: Sync the ansible collection packaging macros and dependency generator from Fedora
Product: Red Hat Enterprise Linux 9 Reporter: Neal Gompa <ngompa13>
Component: ansible-coreAssignee: Josh Boyer <jwboyer>
Status: CLOSED WONTFIX QA Contact: Josh Boyer <jwboyer>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, davidmccheyne, daxelrod, fedora, jwboyer, matt, maxwell, yguenane
Target Milestone: rc   
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: 2022-01-07 17:18:41 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Gompa 2022-01-07 16:36:07 UTC
Description of problem:
The ansible-core package in Fedora has macros and a dependency generator for supporting packaged Ansible collections. For packaging collections in EPEL 9, we'd like to have these present in the ansible-core package in EL9.

Version-Release number of selected component (if applicable):
2.12.1-1.el9

Comment 1 Neal Gompa 2022-01-07 16:51:57 UTC
Merge request proposed: https://gitlab.com/redhat/centos-stream/rpms/ansible-core/-/merge_requests/8

Comment 2 Josh Boyer 2022-01-07 17:18:41 UTC
Thank you for the contribution.

The ansible-core package in RHEL is only supported for use by RHEL System Roles.  We will not provide additional macros or generators that enable or encourage use of ansible-core outside of that scope.  I would suggest including these in a EPEL specific package instead.

Comment 3 Maxwell G 2022-01-07 18:39:07 UTC
Neal, we started discussing this issue here: https://bugzilla.redhat.com/show_bug.cgi?id=2033025. We are planning on creating a separate ansible-rpm-macros package for Fedora and EPEL.