Change name and password input
This commit is contained in:
parent
465cea421d
commit
6b2e15d3fc
@ -3,7 +3,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: mariadb user
|
- name: mariadb user
|
||||||
mysql_user:
|
mysql_user:
|
||||||
name: {{new_user_name}}
|
name: {{user_name}}
|
||||||
state: absent
|
state: absent
|
||||||
login_user: root
|
login_user: root
|
||||||
login_password: {{login_password}}
|
login_password: {{login_password}}
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: mariadb user
|
- name: mariadb user
|
||||||
mysql_user:
|
mysql_user:
|
||||||
name: {{ new_user_name }}
|
name: {{ user_name }}
|
||||||
password: {{ new_user_password }}
|
password: {{ user_password }}
|
||||||
priv: {{ db_name }}.*:ALL
|
priv: {{ db_name }}.*:ALL
|
||||||
host: '%'
|
host: '%'
|
||||||
state: present
|
state: present
|
||||||
|
@ -5,10 +5,10 @@ actions:
|
|||||||
run: run.yml
|
run: run.yml
|
||||||
remove: remove.yml
|
remove: remove.yml
|
||||||
input:
|
input:
|
||||||
new_user_password:
|
user_password:
|
||||||
schema: str!
|
schema: str!
|
||||||
value:
|
value:
|
||||||
new_user_name:
|
user_name:
|
||||||
schema: str!
|
schema: str!
|
||||||
value:
|
value:
|
||||||
db_name:
|
db_name:
|
||||||
|
Loading…
Reference in New Issue
Block a user