create databases: use a list of database objects as per ansible mysql_db
parent
8802c6d50d
commit
4ea34d513c
|
@ -59,8 +59,7 @@
|
||||||
|
|
||||||
- name: MYSQL_DB | Create databases
|
- name: MYSQL_DB | Create databases
|
||||||
mysql_db:
|
mysql_db:
|
||||||
name: "{{ item }}"
|
"{{item}}"
|
||||||
state: present
|
|
||||||
with_items: "{{ mariadb_databases }}"
|
with_items: "{{ mariadb_databases }}"
|
||||||
|
|
||||||
- name: MYSQL_USER | Manages users...
|
- name: MYSQL_USER | Manages users...
|
||||||
|
|
Loading…
Reference in New Issue