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