summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi REY <rrey94@gmail.com>2018-07-05 07:49:58 +0200
committerMatt Clay <matt@mystile.com>2018-07-05 08:39:53 -0700
commite433f82fc291dd867d1ea7e985b4e529fc25f48a (patch)
tree4639e117663c0c3798515206809b1f2d0d17e268
parent56cca2a312556e1ecf0d85b45deadfe34b346d0b (diff)
downloadansible-e433f82fc291dd867d1ea7e985b4e529fc25f48a.tar.gz
callback/grafana_annotations: define validate_grafana_certs type as bool (#42318)
Fixes #42317
-rw-r--r--lib/ansible/plugins/callback/grafana_annotations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/plugins/callback/grafana_annotations.py b/lib/ansible/plugins/callback/grafana_annotations.py
index a4746b05b2..712aed5be3 100644
--- a/lib/ansible/plugins/callback/grafana_annotations.py
+++ b/lib/ansible/plugins/callback/grafana_annotations.py
@@ -48,13 +48,14 @@ DOCUMENTATION = """
- section: callback_grafana_annotations
key: grafana_url
validate_grafana_certs:
- description: (bool) validate the SSL certificate of the Grafana server. (For HTTPS url)
+ description: validate the SSL certificate of the Grafana server. (For HTTPS url)
env:
- name: GRAFANA_VALIDATE_CERT
ini:
- section: callback_grafana_annotations
key: validate_grafana_certs
default: True
+ type: bool
http_agent:
description: The HTTP 'User-agent' value to set in HTTP requets.
env: