Add update action for mariadb_user

This commit is contained in:
Łukasz Oleś 2015-10-01 17:56:53 +02:00
parent 55dc26d7c1
commit 980ff7ab23

View File

@ -0,0 +1,15 @@
- hosts: [{{host}}]
sudo: yes
tasks:
- name: mariadb user
mysql_user:
name: {{ user_name }}
password: {{ user_password }}
priv: {{ db_name }}.*:ALL
host: '%'
state: present
update_password: always
login_user: root
login_password: {{ login_password }}
login_port: {{ login_port }}
login_host: {{db_host}}