Skip to content

Made changes to allow role to work with rpm-ostree systems #38

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 10 commits into
base: master
Choose a base branch
from

Conversation

millerthegorilla
Copy link

Changed tasks/main.yml to make install task more efficient. Instead of looping packages sequentially, all packages can be installed simultaneously by passing the list of packages to the name parameter.

Added a reboot check to reboot the remote system if it is an rpm-ostree system and packages have been installed.

Changed the path for the systemd service from /lib to /etc. This allows the role to write its systemd service template as a dropin to the /etc/systemd/system folder, which is compatible with all rhel and fedora systems. The existing path, /lib/systemd/system is unwritable on rpm-ostree systems.

Edited the readme to add the need for ansible_package_use = rpm_ostree_package to be defined for the role to work with systems with rpm-ostree based immutable filesystems.

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