first commit

This commit is contained in:
phil 2023-09-27 16:35:10 +02:00
commit b40c37914c
6 changed files with 107 additions and 0 deletions

16
tasks/database.yml Normal file
View file

@ -0,0 +1,16 @@
---
- name: "Database | Create database"
community.postgresql.postgresql_db:
name: "{{ onlyoffice_db_name }}"
encoding: UTF8
template: template0
become: true
become_user: postgres
- name: "Database | Create user role"
community.postgresql.postgresql_user:
name: "{{ onlyoffice_db_user }}"
password: "{{ onlyoffice_db_password }}"
db: "{{ onlyoffice_db_name }}"
become: true
become_user: postgres