16 lines
380 B
YAML
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 }}"
|