-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
3
-
rhel-system-roles
-
3
-
False
-
False
-
-
None
-
Leapp: Sprint 7, Sprint 28, SysRoles Sprint 29
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
When shipping the infra.leapp Ansible collection in RHEL, it can't depend on community Ansible modules. It needs to depend only on modules from Red Hat in order to have the collection supported by Red Hat.
Acceptance criteria:
- Community modules used within infra.leapp are replaced with RHEL system roles. For instance:
- The use of rhn/satellite community modules is replaced with the rhc system role
- The use of selinux community module is replaced with the selinux system role
- If there are any modules which must be used which do not have a system roles replacement, then we vendor in those modules in RHEL like we do with RHEL system roles
Grep command that I used to find modules used other than `ansible.builtin.*:` - `grep -rP '\b(?!ansible\.builtin\.)[A-Za-z0-9_]\.[A-Za-z0-9_]\.[A-Za-z0-9_]+:' roles/`
Also worth looking into https://github.com/redhat-cop/infra.leapp/blob/main/.ansible-lint for mock_modules.
- is cloned by
-
RHEL-134401 infra.leapp: Replace community.general.redhat_subscription module with the rhc system role
-
- In Progress
-