Manages "host_all" on users

This commit is contained in:
Emilien Mantel
2019-01-25 11:42:04 +01:00
parent e9b46e347e
commit fb4c70827c
2 changed files with 9 additions and 4 deletions

View File

@@ -68,7 +68,8 @@
name: "{{ item.name }}"
password: "{{ item.password }}"
priv: "{{ item.priv }}"
host: "{{ item.host | default('localhost') }}"
host: "{{ item.host | default(omit) }}"
host_all: "{{ item.host_all | default(omit) }}"
state: present
with_items: "{{ mariadb_users }}"