mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-05 13:22:09 +07:00
Fix deprecation warnings
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
- name: MYSQL_DB | Create databases
|
- name: MYSQL_DB | Create databases
|
||||||
mysql_db: name={{ item }} state=present
|
mysql_db: name={{ item }} state=present
|
||||||
with_items: mysql_databases
|
with_items: "{{ mysql_databases }}"
|
||||||
|
|
||||||
- name: MYSQL_USER | Manages users...
|
- name: MYSQL_USER | Manages users...
|
||||||
mysql_user: >
|
mysql_user: >
|
||||||
@@ -41,5 +41,5 @@
|
|||||||
priv="{{ item.priv }}"
|
priv="{{ item.priv }}"
|
||||||
host="{{ item.host | default('localhost') }}"
|
host="{{ item.host | default('localhost') }}"
|
||||||
state=present
|
state=present
|
||||||
with_items: mysql_users
|
with_items: "{{ mysql_users }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user