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

fix modprobe module on el8

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

    • rhel-system-roles
    • 0
    • False
    • Hide

      None

      Show
      None
    • None

      The latest community.general.modprobe module from Ansible uses python features not present on EL8 with python 3.6, so we cannot use the latest.

      https://github.com/ansible-collections/community.general/commit/8f8a0e1d7c4921b6cf763977a18eab5fa22ea211#diff-6f6b000b884bce10854779aa7d8a4385c332c0eb458ab691e4095ca4333c75f8

      Suggestions:

      • do not use the modprobe module but instead use command or shell with the modprobe command line. Pros: eliminates another dependency on unsupported code. Works on all platforms the same. Cons: harder to get idempotency correct but not very hard.
      • copy the old modprobe code - vendor it into ha_cluster. Pros: no changes to task code. Cons: more python code to maintain

      spetros@redhat.com idevat@redhat.com

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: