community.grafana.grafana_user – Manage Grafana User¶
Note
This plugin is part of the community.grafana collection (version 1.2.1).
To install it use: ansible-galaxy collection install community.grafana
.
To use it in a playbook, specify: community.grafana.grafana_user
.
New in version 1.0.0: of community.grafana
Synopsis¶
Create/update/delete Grafana User through the users and admin API.
Tested with Grafana v6.4.3
Password update is not supported at the time
Parameters¶
Examples¶
---
- name: Create or update a Grafana user
community.grafana.grafana_user:
url: "https://grafana.example.com"
url_username: admin
url_password: changeme
name: "Bruce Wayne"
email: [email protected]
login: batman
password: robin
is_admin: true
state: present
- name: Delete a Grafana user
community.grafana.grafana_user:
url: "https://grafana.example.com"
url_username: admin
url_password: changeme
login: batman
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Antoine Tanzilli (@Tailzip)
Hong Viet LE (@pomverte)
Julien Alexandre (@jual)
Marc Cyprien (@LeFameux)