Skip to content

Commit

Permalink
Create database.yml
Browse files Browse the repository at this point in the history
KOSASIH authored Aug 3, 2024
1 parent 884b38b commit 5b4ba81
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- name: Configure Pi Network database
become: yes

tasks:
- name: Create Pi Network database
mysql_db:
name: "{{ pi_network_db_name }}"
state: present

- name: Create Pi Network database user
mysql_user:
name: "{{ pi_network_db_username }}"
password: "{{ pi_network_db_password }}"
priv: "{{ pi_network_db_name }}.*:ALL"
state: present

0 comments on commit 5b4ba81

Please sign in to comment.