paulbsd-salt/states/mariadb/databases.sls
2023-09-14 16:45:40 +02:00

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 %}