Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-1030

Include python3-dnf and its dependencies in Ansible supported EE

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.2, 2.3, 2.4
    • execution-environments
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?
        Include python3-dnf and its dependencies in Ansible supported execution environment, so that ansible-navigator users could run playbooks with ansible.builtin.yum and ansible.builtin.dnf modules inside with the default execution environment (which is the Ansible supported execution environment).
      2. Why does the customer need this? (List the business requirements here)

      At present, ansible-navigator users running playbooks with ansible.builtin.yum and ansible.builtin.dnf modules inside with the default execution environment always failed with 'Could not import the dnf python module using /usr/bin/python3.9'. The default execution environment for ansible-navigator at present is registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest.

      The document of ansible.builtin.dnf module has explicitly state the requirement of python-dnf:

      https://docs.ansible.com/ansible-core/2.14/collections/ansible/builtin/dnf_module.html#ansible-collections-ansible-builtin-dnf-module

      Consider that ansible.builtin.yum and ansible.builtin.dnf modules are builtin ansible-core modules so I believe they are downstream supported. I believe the dependencies of these two modules (python3-dnf and its dependencies in this case) should be included in our supported images/execution environments.

      1. How would you like to achieve this? (List the functional requirements here)
        Include python3-dnf and its dependencies in Ansible supported execution environment. The more versions (AAP 2.2 till now, both RHEL 8 and RHEL 9 images) the better.
      2. List any affected known dependencies: Doc, UI etc..
        N/A
      3. Github Link if any
        N/A

              rhn-sa-pgriffiths Phil Griffiths
              the@redhat Tong He
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: