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

enhancement: Skip more tasks when skipping install #176

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tvenieris
Copy link
Contributor

When not installing, /usr/local/bin/blackbox_exporter is not guaranteed to be present. Which means that applying cap_net_raw capability to it may fail and should be skipped too. This means that installing the libcap2-bin package may be unnecessary, if not contradicting the principle of the 'skip_install' setting. And the same goes for the installation of the python3-apt package in the preflight script.

All of the above are irrelevant when using this role to setup the configuration of a container which comes with everything pre-installed.

When not installing, /usr/local/bin/blackbox_exporter is not guaranteed to
be present. Which means that applying cap_net_raw capability to it
may fail and should be skipped too. This means that installing the
libcap2-bin package may be unnecessary, if not contradicting the
principle of the 'skip_install' setting. And the same goes for the
installation of the python3-apt package in the preflight script.

All of the above are irrelevant when using this role to setup the
configuration of a container which comes with everything pre-installed.

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
@gardar gardar changed the title Enhancement: Skip more tasks when skipping install enhancement: Skip more tasks when skipping install Aug 16, 2023
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants