Update documenation

This commit is contained in:
Ishan Jain 2022-08-23 12:30:35 +05:30
parent f793043646
commit 5f48cf2271
5 changed files with 19 additions and 7 deletions

View File

@ -4,6 +4,14 @@ Grafana.Grafana Release Notes
.. contents:: Topics .. contents:: Topics
v1.0.1
======
Minor Changes
-------------
- Documentation updates
v1.0.0 v1.0.0
====== ======

View File

@ -54,4 +54,4 @@ plugins:
shell: {} shell: {}
strategy: {} strategy: {}
vars: {} vars: {}
version: 1.0.0 version: 1.0.1

View File

@ -4,3 +4,5 @@ releases:
release_date: '2022-08-11' release_date: '2022-08-11'
1.0.0: 1.0.0:
release_date: '2022-08-16' release_date: '2022-08-16'
1.0.1:
release_date: '2022-08-23'

View File

@ -58,18 +58,20 @@ options:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a Grafana Cloud stack - name: Create a Grafana Cloud stack
grafana.grafana.cloud_stack: grafana.grafana.cloud_stack:
name: company_name name: stack_name
slug: company_name stack_slug: stack_name
cloud_api_key: "{{ grafana_cloud_api_key }}" cloud_api_key: "{{ grafana_cloud_api_key }}"
region: eu region: eu
url: https://grafana.company_name.com url: https://grafana.company_name.com
org_slug: org_name
state: present state: present
- name: Delete a Grafana Cloud stack - name: Delete a Grafana Cloud stack
grafana.grafana.cloud_stack: grafana.grafana.cloud_stack:
name: company_name name: stack_name
slug: company_name slug: stack_name
cloud_api_key: "{{ grafana_cloud_api_key }}" cloud_api_key: "{{ grafana_cloud_api_key }}"
org_slug: org_name
state: absent state: absent
''' '''

View File

@ -43,14 +43,14 @@ options:
EXAMPLES = ''' EXAMPLES = '''
- name: Create/Update a dashboard - name: Create/Update a dashboard
grafana.grafana.dashboard: grafana.grafana.dashboard:
datasource: "{{ lookup('ansible.builtin.file', 'dashboard.json') }}" dashboard: "{{ lookup('ansible.builtin.file', 'dashboard.json') }}"
stack_slug: "{{ stack_slug }}" stack_slug: "{{ stack_slug }}"
grafana_api_key: "{{ grafana_api_key }}" grafana_api_key: "{{ grafana_api_key }}"
state: present state: present
- name: Delete dashboard - name: Delete dashboard
grafana.grafana.dashboard: grafana.grafana.dashboard:
datasource: "{{ lookup('ansible.builtin.file', 'dashboard.json') }}" dashboard: "{{ lookup('ansible.builtin.file', 'dashboard.json') }}"
stack_slug: "{{ stack_slug }}" stack_slug: "{{ stack_slug }}"
grafana_api_key: "{{ grafana_api_key }}" grafana_api_key: "{{ grafana_api_key }}"
state: absent state: absent