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

Version install logic not as documented #214

Open
sjpb opened this issue Oct 12, 2023 · 2 comments
Open

Version install logic not as documented #214

sjpb opened this issue Oct 12, 2023 · 2 comments

Comments

@sjpb
Copy link
Contributor

sjpb commented Oct 12, 2023

In README#installing-a-specific-version this says:

ondemand_package defaults to latest meaning this will install the latest version on the versioned yum/deb repository. For example, it'll install the latest version, 2.0.20 from the versioned 2.0 yum repo.

We use ondemand_package for the name paramter of the ansible yum so you can speicify a specific version with ondemand-2.0.20 or use the comparison operators ansible supports.

However the rpm install logic shows that to get the latest package, you should use ondemand_package: ondemand, and this is actually the default.

The 2nd para also has some typos and probably needs to be updated for the default of v3 packages now?

@sjpb
Copy link
Contributor Author

sjpb commented Oct 12, 2023

I'd suggest:

ondemand_package can be used to control the version of the rpm/deb package installed. The default, ondemand, will install the latest version available from the relevant repository. You can specify a specific version using e.g. ondemand-3.0.3 or use the comparison operators supported by the name parameter of the ansible yum module.

@johrstrom
Copy link
Collaborator

Thank you for the suggestion! pleas feel free to review or add additional comments on #215.

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 a pull request may close this issue.

2 participants