mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 11:20:18 +01:00
11 lines
384 B
YAML
11 lines
384 B
YAML
---
|
|
- name: Ensure MySQL users are present.
|
|
mysql_user:
|
|
name: "{{ item.name }}"
|
|
host: "{{ item.host | default('localhost') }}"
|
|
password: "{{ item.password }}"
|
|
priv: "{{ item.priv | default('*.*:USAGE') }}"
|
|
state: "{{ item.state | default('present') }}"
|
|
append_privs: "{{ item.append_privs | default('no') }}"
|
|
with_items: "{{ mysql_users }}"
|
|
no_log: true
|