Extending the filter to 3 so it covers AAP 2.3. The list between 2.2 and 2.3 are different.
What does this PR do?
The PR fixes https://github.com/redhat-cop/aap_utilities/issues/161 where downloading AAP 2.3 did not work for RHEL 8 or 9. The __aap_setup_down_images fact is different between the binaries for 2.2. and 2.3. I have just extedned the filter to [3] so it covers version 2.3.
How should this be tested?
The role can be tested from a playbook directly. One must include the aap_setup_download location in ansible.cfg and use export ANSIBLE_CONFIG=ansible.cfg to setup the environment acordingly. Example playbook:
Extending the filter to 3 so it covers AAP 2.3. The list between 2.2 and 2.3 are different.
What does this PR do?
The PR fixes https://github.com/redhat-cop/aap_utilities/issues/161 where downloading AAP 2.3 did not work for RHEL 8 or 9. The
__aap_setup_down_images
fact is different between the binaries for 2.2. and 2.3. I have just extedned the filter to[3]
so it covers version 2.3.How should this be tested?
The role can be tested from a playbook directly. One must include the aap_setup_download location in
ansible.cfg
and useexport ANSIBLE_CONFIG=ansible.cfg
to setup the environment acordingly. Example playbook:Is there a relevant Issue open for this?
Resolves #161
Other Relevant info, PRs, etc
I have tested this locally for versions 2.2 and 2.3 Both the
setup
andsetup-bundle
downloads:Setup 2.2
Setup 2.3
Setup Bundle 2.2
Setup Bundle 2.3