Disable grafana Getting Started panel
I think that we do not need this in a production-ready project. Change-Id: Ief1392c5e8becc90034fca782211a1da30da14ae
This commit is contained in:
parent
1785997a56
commit
deadbdb43e
@ -28,3 +28,17 @@
|
|||||||
response.status == 409 and ("Data source with same name already exists" not in response.json.message|default(""))
|
response.status == 409 and ("Data source with same name already exists" not in response.json.message|default(""))
|
||||||
with_dict: "{{ grafana_data_sources }}"
|
with_dict: "{{ grafana_data_sources }}"
|
||||||
when: item.value.enabled | bool
|
when: item.value.enabled | bool
|
||||||
|
|
||||||
|
- name: Disable Getting Started panel
|
||||||
|
uri:
|
||||||
|
url: "{{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ grafana_server_port }}/api/user/helpflags/1"
|
||||||
|
method: PUT
|
||||||
|
user: admin
|
||||||
|
password: "{{ grafana_admin_password }}"
|
||||||
|
force_basic_auth: yes
|
||||||
|
status_code: 200
|
||||||
|
register: grafana_response
|
||||||
|
changed_when: grafana_response.status == 200
|
||||||
|
run_once: true
|
||||||
|
connection: local
|
||||||
|
when: grafana_custom_dashboard_file.stat.exists
|
||||||
|
Loading…
Reference in New Issue
Block a user