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

install: only install OS packages if non-empty due to Flatcar / CoreOS #468

Conversation

ahjohannessen
Copy link
Contributor

@ahjohannessen ahjohannessen commented Mar 1, 2022

  • only install OS packages if non-empty due to Flatcar / CoreOS not using a package manager.

@ahjohannessen
Copy link
Contributor Author

@gardar Your change in #452 causes OSs that have no regular package manager, e.g. Flatcar and Fedora CoreOS, to fail installing. If you look at OS specific vars for Flatcar you can see this:

consul_os_packages: []

My change here ensures that name: Install OS packages is not run if that list is empty.

@ahjohannessen
Copy link
Contributor Author

@bbaassssiiee WDYT?

Copy link
Contributor

@gardar gardar left a comment

Choose a reason for hiding this comment

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

LGTM!

@ahjohannessen
Copy link
Contributor Author

@gardar Any chance of getting this merged soon? :)

@gardar
Copy link
Contributor

gardar commented Apr 6, 2022

@ahjohannessen unfortunately I don't have write access to the repo so I can't merge.

Pinging @lanefu

@bbaassssiiee
Copy link
Member

Could you remove the Fedora 29? Molecule fails on it.

@ahjohannessen
Copy link
Contributor Author

@bbaassssiiee I have removed fedora 29

@ahjohannessen
Copy link
Contributor Author

@bbaassssiiee I reverted the removal of Fedora 29 as it probably was a Molecule glitch and unrelated to this PR. Tests are green with Fedora 29.

@bbaassssiiee bbaassssiiee merged commit 652656a into ansible-collections:master May 2, 2022
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.

3 participants