Files
2025-02-14 20:35:06 +01:00

16 lines
380 B
YAML

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