: add nextcloud webapps

This commit is contained in:
VC
2025-02-14 16:55:58 +01:00
parent 0a2525f7ad
commit ab2868e2c8
7 changed files with 187 additions and 0 deletions

View 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 }}"