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