From 8774039a97047f3d2a4c2fe3c31846c01f2f964f Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Thu, 20 Mar 2025 21:41:16 -0400 Subject: [PATCH] Updating HC Vault token. --- .../ghost_config.production.json.j2 | 2 +- ansible/group_vars/all.yml | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) 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": { diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 3bf03244..823f276a 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 + $ANSIBLE_VAULT;1.1;AES256 + 62363031303333393333323538306461363235396336393730623163646461306430353262356264 + 3731623932346561616238303733366130333236303531310a383130653532386131386235376366 + 35343461303164316334303731396639316231323639346133396335336335393737636631363165 + 3632656266373561390a356636333137626334383761366339366564643866636264393430306531 + 37653230616130643365646665613765656638663934613361383938316635623661333738613636 + 30616339366530656135646339303233656131306132633937313137656264653133386238323936 + 62633534623431666132373563663963616466386135666134663939393166656630386365346533 + 35666237343562336163653834653232323166613232616561366335363337303531306163633736 + 35623737313631306530313331643331343565353836333566383734393634613333 vault_token_cleaned: "{{ vault_token | regex_replace('\\n', '') }}" secrets_path: "rinoa-docker/env"