[Bug]: `requires_ansible` in `meta/runtime.yml` is not matching with `ansible-core` in `requirements.txt`
Closed this issue · 0 comments
Summary
In the requirements.txt at the root of the repo, Ansible-core is pinned to version 2.15.9
ansible-core==2.15.9
Since ansible-builder uses the requirements.txt from the repository, this overwrites the ansible-core version regardless of what version the user wants. Recommend matching the meta/runtime.yml
ansible-core>=2.14.0 if that is the minimum supported version
Issue Type
Bug Report
Component Name
requirements.txt which impacts ansible-core when using ansible-builder
Python Version
Python 3.11.5
Ansible Version
2.16.6
Ansible Configuration
No response
netscaler.adc Collection Version
Collection Version
------------- -------
netscaler.adc 2.6.1
Target NetScaler Version
No response
Equivalent NetScaler CLI Command
No response
Steps to Reproduce
ansible-builder build -t newimage:latest
Use a non 2.15.9 execution environment.
In requirements.yml just have netscalar.adc
The final image will have ansible-core 2.15.9 because of the requirements.txt
Expected Results
I would expect to maintain the current version of ansible-core installed in my execution environment, not an exact version forced by the netscalar.adc collection when building EE
Actual Results
Additional Notes
No response