Skip to content

Ensure Ansible Galaxy installs are up to date #700

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Jun 5, 2025

Feedback from users and developers shows it is very easy to forget to run dev/setup-env.sh to update Ansible Galaxy roles/collections after e.g. changing branches or merging in updates which change requirements.yml. The error messages occuring in this situation do not usually make the root cause clear.

While this cannot be actually fixed from ansible/site.yml as roles/collections are already loaded once Ansible is running, this PR raises a clear error if the installed roles/collections do not match the current requirements.yml

@sjpb sjpb requested a review from bertiethorpe June 5, 2025 19:05
@sjpb sjpb marked this pull request as ready for review June 6, 2025 09:25
@sjpb sjpb requested a review from a team as a code owner June 6, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant