Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-120542

infra.leapp: Replace ansible.posix.selinux module with the selinux system role

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rhel-system-roles
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • 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.

       

              rh-ee-tfratrik Tomas Fratrik (Inactive)
              mbocek@redhat.com Michal Bocek
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: