From 105e71f5a85bb8cf8128c02572f07847a09e5be7 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Thu, 20 Mar 2025 20:43:36 -0400 Subject: [PATCH 1/2] Updating HC Vault token. --- ansible/group_vars/all.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 3bf03244..6b1e3b0d 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -1,14 +1,14 @@ vault_addr: "https://vault.trez.wtf" vault_token: !vault | $ANSIBLE_VAULT;1.1;AES256 - 30623330336664656231653066343930303830343530323930613666643863623837633738346639 - 3734386663383333386635623931343361343363396434660a633637666539626264653437636134 - 36616334386264383330323164333432623538366234326563323664353338646331353233396161 - 3030623162373232320a386432393337613431303432613065626163326363316365613937623031 - 39316566343238363934383833376136323461336666663762383663633531303138616132333938 - 30316334363436333164303035643835316238313038663761636338313433303766626238656234 - 34373436396430646339326361366634363735346637303865373164363663663263646661366663 - 36336334393535386332646461313262646131383932353534363936623961613761333762376561 - 31366662626231346638346339626565653831613865646436643233653066366534 + 33353530663733396437386433393332393130333638616264633261393066336234313962653566 + 3133643738373662656433363030643063333461313564650a393066356262616661623862633230 + 33393561353562343037396436373734623333663361653262646166333934343733376439643936 + 3361383866373531340a666538616538316265663732353363323832353965653464356232626563 + 61336331626631623465313566323462343963666264626663386233386530666163653962633736 + 30653139393532643333396330343031626231326332643266336163613265646137613335383061 + 31313734653665613963636534653032313738653632353861383533653631633133376665343266 + 64653632393630623961373936326465333436393765663262636637316539313830623231633737 + 3038 vault_token_cleaned: "{{ vault_token | regex_replace('\\n', '') }}" secrets_path: "rinoa-docker/env" From e562ec9ec86c2bce29839bc292fe87f044798d4c Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Thu, 20 Mar 2025 20:44:52 -0400 Subject: [PATCH 2/2] Updating HC Vault token. --- ansible/app-configs/ghost_config.production.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/app-configs/ghost_config.production.json.j2 b/ansible/app-configs/ghost_config.production.json.j2 index 9f2c1139..ad3488fd 100644 --- a/ansible/app-configs/ghost_config.production.json.j2 +++ b/ansible/app-configs/ghost_config.production.json.j2 @@ -2,7 +2,7 @@ {% set secrets_path = 'rinoa-docker/env' %} { - "url": "blog.{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token_cleaned)['secret']['MY_TLD'] }}", + "url": "blog.trez.wtf", "database": { "client": "mysql", "connection": {