9 lines
324 B
Plaintext
9 lines
324 B
Plaintext
|
---
|
||
|
{%- from "mariadb/map.jinja" import mariadb with context %}
|
||
|
{%- for key, value in mariadb.databases.items() %}
|
||
|
mariadb-database-{{ value.name }}:
|
||
|
mysql_database.present:
|
||
|
- name: {{ value.name }}
|
||
|
- connection_user: {{ mariadb.connection_user }}
|
||
|
- connection_pass: {{ mariadb.connection_pass }}
|
||
|
{%- endfor %}
|