Add 2px db and user
This commit is contained in:
parent
e21b328053
commit
6a19331970
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
|
||||
- name: 2px database
|
||||
mysql_db:
|
||||
name: "{{ 2px_db_name }}"
|
||||
state: present
|
||||
|
||||
- name: 2px user and privileges
|
||||
mysql_user:
|
||||
name: "{{ 2px_db_user }}"
|
||||
password: "{{ 2px_db_password }}"
|
||||
priv: "{{ 2px_db_name }}.*:ALL"
|
||||
state: present
|
Loading…
Reference in a new issue