Peter Kurfer
cd8229fb3d
All checks were successful
continuous-integration/drone/push Build is passing
- update KeyDB - update NextCloud - update Forgejo - add Redis to NocoDB
37 lines
No EOL
1.1 KiB
YAML
37 lines
No EOL
1.1 KiB
YAML
---
|
|
- name: Create users
|
|
community.postgresql.postgresql_user:
|
|
name: "{{ item.name }}"
|
|
password: "{{ item.password }}"
|
|
login_host: "127.0.0.1"
|
|
login_password: "{{ PostgresPassword }}"
|
|
loop:
|
|
- name: gitea
|
|
password: "{{ gitea.dbPassword }}"
|
|
- name: "{{ grafana.db.user }}"
|
|
password: "{{ grafana.db.password }}"
|
|
- name: "{{ hedgedoc.db.user }}"
|
|
password: "{{ hedgedoc.db.password }}"
|
|
- name: "{{ nocodb.db.user }}"
|
|
password: "{{ nocodb.db.password }}"
|
|
- name: "{{ zipline.db.user }}"
|
|
password: "{{ zipline.db.password }}"
|
|
|
|
- name: Create databases
|
|
community.postgresql.postgresql_db:
|
|
name: "{{ item.name }}"
|
|
owner: "{{ item.owner }}"
|
|
encoding: UTF-8
|
|
login_host: "127.0.0.1"
|
|
login_password: "{{ PostgresPassword }}"
|
|
loop:
|
|
- name: gitea
|
|
owner: gitea
|
|
- name: grafana
|
|
owner: "{{ grafana.db.user }}"
|
|
- name: hedgedoc
|
|
owner: "{{ hedgedoc.db.user }}"
|
|
- name: noco
|
|
owner: "{{ nocodb.db.user }}"
|
|
- name: zipline
|
|
owner: "{{ zipline.db.user }}" |