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

Better config prometheus output #254

Open
tibz7 opened this issue Dec 1, 2023 · 0 comments
Open

Better config prometheus output #254

tibz7 opened this issue Dec 1, 2023 · 0 comments

Comments

@tibz7
Copy link

tibz7 commented Dec 1, 2023

When running the task Configure prometheus, the task might fail if there is a validation error.... but that error is just hidden to the user running the playbook!
So the only hack i ve found was changing the value to true in the task.... Which not the way to go.
I also tried to export env=CI in my env but without luck.

Also it is quite anoying that when running ansible with the check_mode everything looks good, but while running it for real it fails! Would it be possible to run promtool check against a temporary file or something like that, so it fails and report the error in check mode?

@tibz7 tibz7 changed the title Enable the no_log Better config prometheus output Dec 1, 2023
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