add database & users creation

This commit is contained in:
Ludovic Cartier
2025-09-24 18:41:06 +02:00
parent 278dba2c02
commit f816db7aad
5 changed files with 117 additions and 3 deletions

View File

@@ -8,4 +8,10 @@
- name: mariadb | installation
include_tasks: install.yml
when: not mariadb_force_upgrade | bool
when: not mariadb_force_upgrade | bool
- name: mariadb | database and user management
include_tasks: database.yml
when:
- mariadb_databases is defined and mariadb_databases | length > 0
- mariadb_users is defined and mariadb_users | length > 0