Uploaded image for project: 'Ansible Strategy'
  1. Ansible Strategy
  2. ANSTRAT-671

AAP Installer applies global_job_execution_environments variable defined in inventory file without PAH settings.

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 2.4
    • controller
    • None
    • False
    • Hide

      None

      Show
      None
    • False

       

      Description

      • Currently, The AAP Installer doesn't apply global_job_execution_environments variable defined in the inventory file if [automationhub] section is empty.
        Therefore, CU would like to request to implement a feature which applies global_job_execution_environments variable without Automation Hub configuration to prevent the modification of the current Execution Environments settings.

      Here are the steps to test how the current AAP installer behaves.

      Add the following to AAP installer file. 

       

      [all:vars]
      global_job_execution_environments:
        - name: "Default execution environment"
          image: "registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel9:latest"
        - name: "Minimal execution environment"
          image: "registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel9:latest"
      

        Run ./setup.sh. After that, the same screen "aap_ees_after_installer.png" will be showing up. As you can see, AAP uses  "registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest" and "registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest" as Execution Environments.

      Also, /etc/tower/conf.d/execution_environments.py  will be as following:

      cat /etc/tower/conf.d/execution_environments.py 

      GLOBAL_JOB_EXECUTION_ENVIRONMENTS = [
          {'name': 'Default execution environment', 'image': 'registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest'},
          {'name': 'Minimal execution environment', 'image': 'registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel8:latest'},
      ]
      CONTROL_PLANE_EXECUTION_ENVIRONMENT = 'registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest'

       

       

              Unassigned Unassigned
              rhn-support-loh Lisa OH
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: