Revert "Add grafana admin password management"
This reverts commit 0bd35ea2f3
.
Closes-Bug: PROD-24331
Change-Id: If1cd867e4253fc21ce2af8af1d638aab02bd6855
This commit is contained in:
parent
0bd35ea2f3
commit
f84a283251
3 changed files with 0 additions and 24 deletions
|
@ -111,7 +111,4 @@ grafana_client_dashboard_{{ dashboard_name }}:
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
include:
|
|
||||||
- grafana.client.user
|
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
{%- from "grafana/map.jinja" import client with context %}
|
|
||||||
|
|
||||||
grafana_admin_user_{{ client.server.user }}_present:
|
|
||||||
grafana4_user.present:
|
|
||||||
- name: {{ client.server.user }}
|
|
||||||
- password: {{ client.server.password }}
|
|
||||||
- email: "{{ client.server.user }}@localhost"
|
|
||||||
- fullname: {{ client.server.user }}
|
|
||||||
- is_admin: true
|
|
||||||
|
|
||||||
grafana_admin_user_{{ client.server.user }}_update_password:
|
|
||||||
module.run:
|
|
||||||
- name: grafana4.update_user_password
|
|
||||||
- userid: {{ client.server.user_id }}
|
|
||||||
- kwargs:
|
|
||||||
password: {{ client.server.password }}
|
|
||||||
- require:
|
|
||||||
- grafana4_user: grafana_admin_user_{{ client.server.user }}_present
|
|
|
@ -54,9 +54,6 @@ Debian:
|
||||||
server:
|
server:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
port: 3000
|
port: 3000
|
||||||
user: admin
|
|
||||||
password: admin
|
|
||||||
user_id: 1
|
|
||||||
remote_data:
|
remote_data:
|
||||||
engine: none
|
engine: none
|
||||||
datasource: {}
|
datasource: {}
|
||||||
|
|
Loading…
Reference in a new issue