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

Add sync and index option on respective roles #207

Merged

Conversation

Tompage1994
Copy link
Contributor

What does this PR do?

Adds sync or index option on roles to conditionally sync or index. This is based around the fact that you can't index all remote repositories so if you call the index role it will cause issues if one of your repositories isn't registry.redhat.io.

I figure it makes sense to do the same thing with the sync role too since the user may not want to sync either.

How should this be tested?

Not sure how great it would be to add to CI for _index and _sync for EEs but it can be tested by calling the role with or without sync and index set as true as options of ah_ee_registries

Is there a relevant Issue open for this?

resolves #167

Other Relevant info, PRs, etc

Copy link
Contributor

@sean-m-sullivan sean-m-sullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM this is a littel counter intuitive, but does solve how you keep them all in a list rather then calling them individually as roles.

@sean-m-sullivan sean-m-sullivan merged commit 7bd32f0 into ansible:devel Jan 21, 2023
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.

ah_ee_registry_index failing for custom EE remote registries
2 participants