diff --git a/playbooks/db.yml b/playbooks/db.yml index 4a50fd3..72a78c5 100755 --- a/playbooks/db.yml +++ b/playbooks/db.yml @@ -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 diff --git a/playbooks/web.yml b/playbooks/web.yml index df1f4ec..f145713 100755 --- a/playbooks/web.yml +++ b/playbooks/web.yml @@ -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