Add 2px db and user

This commit is contained in:
flyingscorpio@arch-desktop 2021-10-31 13:37:03 +01:00
parent e21b328053
commit 6a19331970

View file

@ -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