Change name and password input
This commit is contained in:
parent
465cea421d
commit
6b2e15d3fc
@ -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}}
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user