-
Notifications
You must be signed in to change notification settings - Fork 100
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
Do not log grafana.ini contents when setting facts #325
base: main
Are you sure you want to change the base?
Conversation
Not sure about Also there was just report about error from set_fact when grafana_ini is not set. Maybe just need to |
The CI env conditional for the no_log disables the no_log when testing the role here on github, which is a good thing as there is no need to hide it here when developing the role. |
Ok.But there was recent report on error from set_fact (#320) and not sure how no_log: true affects error reporting? I think we should add assert that grafana_ini var is set in preflight.yml. Can do a separate PR. edit: ah, set_fact to inherit from grafana_ini_defaults runs before preflight. edit2: maybe preflight checks should run before inherit from grafana_ini_defaults. No point checking default values in preflight. edit3: probably simplest&quickest just to add assert/fail before set_fact |
@intermittentnrg I think this should be handled in a different PR |
As long as Error would change from
to
(Untested, just found output from google search) |
@gardar Do you think anything else is needed before merging this one? |
Fixes #324