Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: requires_ansible in meta/runtime.yml is not matching with ansible-core in requirements.txt #431

Closed
adworjan opened this issue May 6, 2024 · 0 comments · Fixed by #432
Assignees
Labels

Comments

@adworjan
Copy link

adworjan commented May 6, 2024

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

@adworjan adworjan added the bug label May 6, 2024
@sumanth-lingappa sumanth-lingappa changed the title [Bug]: [Bug]: requires_ansible in meta/runtime.yml is not matching with ansible-core in requirements.txt May 7, 2024
@sumanth-lingappa sumanth-lingappa linked a pull request May 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants