From d8ed457d888680894d8b8ebc8815c9b26d214e9d Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Thu, 4 Aug 2022 18:31:08 -0500 Subject: [PATCH] Use an external DB for Gitlab --- inventories/production/group_vars/all.yml | 9 +++++++++ playbooks/prod_db.yml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/inventories/production/group_vars/all.yml b/inventories/production/group_vars/all.yml index 4f384a7..b5b2981 100644 --- a/inventories/production/group_vars/all.yml +++ b/inventories/production/group_vars/all.yml @@ -162,6 +162,15 @@ gitea_internal_token: !vault | 62633234313261363537663061373931303832653531356566633739636264666635653936313965 623964653936646334313864643030653763 +# For GitLab +secret_gitlab_db_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 63663138666430313664333565623335313337656138613330663530653633376336343536623866 + 3231303336656431353163633736323361313633636230640a623762323131353539326430313862 + 32663662376137383232666534356530343864396535356264633934386430316237346634656336 + 3365636636316534660a373562346462363935393565366636353061343932663763663532383565 + 36666438366337303362373838626234363266646132363235323436653131363735 + # For Nagios secret_nagios_admin_pass: !vault | $ANSIBLE_VAULT;1.1;AES256 diff --git a/playbooks/prod_db.yml b/playbooks/prod_db.yml index 67057bc..8dba06a 100755 --- a/playbooks/prod_db.yml +++ b/playbooks/prod_db.yml @@ -27,6 +27,8 @@ password: "{{ secret_ara_db_pass }}" - name: gitea-desultd password: "{{ secret_gitea_db_pass }}" + - name: gitlab-desultd + password: "{{ secret_gitlab_db_pass }}" - name: gulagbot-test password: "{{ secret_gulagbot_test_db_pass }}" - name: nagios @@ -48,6 +50,8 @@ owner: ara-desultd - name: gitea-desultd owner: gitea-desultd + - name: gitlab-desultd + owner: gitlab-desultd - name: gulagbot-test owner: gulagbot-test - name: netbox-desultd