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

usability of --skip-tags is worse than skip_install #480

Open
fsperling opened this issue Nov 27, 2024 · 0 comments
Open

usability of --skip-tags is worse than skip_install #480

fsperling opened this issue Nov 27, 2024 · 0 comments

Comments

@fsperling
Copy link

Hello,

in a recent version the skip_install variable got deprecated in favor of using --skip-tags.
I couldn't find any explanation why this was done, I'm guessing it makes the code easier.

I found that for my usecase --skip-tags doesn't work.
I have a playbook which uses the prometheus role. The only way I found to skip the installation is during the invokation of ansible-playbook.

ansible-playbook my-playbook --skip-tags prometheus_install

It doesn't seem possible to set it in the playbook.
Thus the user always needs to remember that the playbook needs to be run with this extra option and has to type it as well. In my view this makes the usability much worse.

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

No branches or pull requests

1 participant