-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add custom certs verification logic
This fix adds the `validate_certs`, `ca_path` options to the lookup plugin. Both parameters comply with the `get_url` functionality of ansible-core and provides additional utility to perform lookup of dashboards from Grafana instances that are configured with Self-Signed Certificates. `validate_certs` option value defaults to `true` - following the pattern of `url` lookup plugin from the Core. `ca_path` option value is set explicitly when using the plugin else defaults to `None`. closes #346 Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
- Loading branch information
1 parent
4d0af1a
commit fc4f19a
Showing
2 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
changelogs/fragments/356-lookup-dashboards-add-custom-certs-verification-logic.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
minor_changes: | ||
- lookup - grafana_dashboards - add `validate_certs` and `ca_path` options to plugin for custom certs validation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters