✨: add koillection
This commit is contained in:
15
roles/koillection/tasks/db.yml
Normal file
15
roles/koillection/tasks/db.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Create koillection db role
|
||||
become_user: postgres
|
||||
become: true
|
||||
community.postgresql.postgresql_user:
|
||||
name: "{{ koillection_pg_role }}"
|
||||
password: "{{ koillection_pg_password }}"
|
||||
|
||||
- name: Create koillection db
|
||||
become_user: postgres
|
||||
become: true
|
||||
community.postgresql.postgresql_db:
|
||||
name: "{{ koillection_pg_database }}"
|
||||
owner: "{{ koillection_pg_role }}"
|
Reference in New Issue
Block a user