14 lines
420 B
YAML
14 lines
420 B
YAML
---
|
|
- name: "database | Erstelle Datenbank"
|
|
ansible.builtin.mysql_db:
|
|
name: "{{ grafana_db }}"
|
|
login_unix_socket: "{{ mysql_socket }}"
|
|
login_user: root
|
|
|
|
- name: "database | Erstelle Datenbank-Nutzer"
|
|
ansible.builtin.mysql_user:
|
|
name: "{{ grafana_db_user }}"
|
|
password: "{{ grafana_db_password }}"
|
|
priv: "{{ grafana_db }}.*:ALL"
|
|
login_unix_socket: "{{ mysql_socket }}"
|
|
login_user: root
|