Change name and password input

This commit is contained in:
Łukasz Oleś 2015-06-25 07:57:27 +00:00
parent 465cea421d
commit 6b2e15d3fc
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
tasks:
- name: mariadb user
mysql_user:
name: {{new_user_name}}
name: {{user_name}}
state: absent
login_user: root
login_password: {{login_password}}

View File

@ -3,8 +3,8 @@
tasks:
- name: mariadb user
mysql_user:
name: {{ new_user_name }}
password: {{ new_user_password }}
name: {{ user_name }}
password: {{ user_password }}
priv: {{ db_name }}.*:ALL
host: '%'
state: present

View File

@ -5,10 +5,10 @@ actions:
run: run.yml
remove: remove.yml
input:
new_user_password:
user_password:
schema: str!
value:
new_user_name:
user_name:
schema: str!
value:
db_name: