Rename databases for desultd

Avoids name collisions later on, like the one I want to do for 9iron
This commit is contained in:
Salt 2020-12-29 09:06:08 -06:00
parent a5b83e1a59
commit 9bec0ffb58
2 changed files with 10 additions and 10 deletions

View File

@ -22,15 +22,15 @@
# Used for internal access from other nodes
- { type: host, database: all, user: all, address: '192.168.0.0/16', auth_method: md5 }
postgresql_users:
- name: gitea
- name: gitea-desultd
password: "{{ secret_gitea_db_pass }}"
- name: nextcloud
- name: nextcloud-desultd
password: "{{ secret_nextcloud_db_pass }}"
postgresql_databases:
- name: gitea
owner: gitea
- name: nextcloud
owner: nextcloud
- name: gitea-desultd
owner: gitea-desultd
- name: nextcloud-desultd
owner: nextcloud-desultd
become: yes
tags: [ db, psql ]
- hosts: psql1.9iron.club

View File

@ -105,8 +105,8 @@
"{{ nextcloud_urls | map('urlsplit', 'hostname') | list }}"
nextcloud_database:
backend: pgsql
name: nextcloud
user: nextcloud
name: nextcloud-desultd
user: nextcloud-desultd
pass: "{{ secret_nextcloud_db_pass }}"
host: 192.168.164.156
port: 5432
@ -119,8 +119,8 @@
# Core config
gitea_db_type: postgres
gitea_db_host: 192.168.164.156:5432
gitea_db_name: gitea
gitea_db_user: gitea
gitea_db_name: gitea-desultd
gitea_db_user: gitea-desultd
gitea_db_password: "{{ secret_gitea_db_pass }}"
gitea_http_domain: git.desu.ltd
gitea_oauth2_enabled: no