ansible-role-apache/tasks/users.yml

10 lines
269 B
YAML
Raw Normal View History

2014-11-08 22:10:49 +01:00
---
- 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: present
with_items: mysql_users