From 1428db45bc7606c3e9711b8fdad7c7b3f4296266 Mon Sep 17 00:00:00 2001 From: Afsal Rahim Date: Wed, 28 Mar 2018 03:49:11 +1100 Subject: [PATCH] updated example with correct parameters (#37679) Updated EXAMPLES documentation which had following 2 incorrect parameters: 'type' has been changed to 'ds_type' 'basic_auth' parameter has been removed. label: docsite_pr --- lib/ansible/modules/monitoring/grafana_datasource.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/monitoring/grafana_datasource.py b/lib/ansible/modules/monitoring/grafana_datasource.py index e7aea10a71..6e1c41d889 100644 --- a/lib/ansible/modules/monitoring/grafana_datasource.py +++ b/lib/ansible/modules/monitoring/grafana_datasource.py @@ -158,10 +158,9 @@ EXAMPLES = ''' grafana_datasource: name: my_elastic grafana_url: http://grafana.company.com - type: elasticsearch + ds_type: elasticsearch url: https://elasticsearch.company.com:9200 database: my-index_* - basic_auth: yes basic_auth_user: grafana basic_auth_password: xxxxxxxx json_data: '{"esVersion":5, "timeField": "@timestamp"}'