paulbsd-salt/states/mariadb/databases.sls

10 lines
317 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "mariadb/map.jinja" import mariadb with context %}
2023-09-14 16:45:40 +02:00
{%- for name, database in mariadb.databases.items() %}
mariadb-database-{{ name }}:
2020-07-10 00:58:55 +02:00
mysql_database.present:
2023-09-14 16:45:40 +02:00
- name: {{ name }}
2020-07-10 00:58:55 +02:00
- connection_user: {{ mariadb.connection_user }}
- connection_pass: {{ mariadb.connection_pass }}
2021-08-19 21:15:24 +02:00
{%- endfor %}