From 1a9398f24a0f91e23b89063fbb8ca4d74e439ad6 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Sun, 23 Mar 2025 13:29:33 -0600 Subject: [PATCH] add basic config.hcl template for vault --- tasks/pkgs/vault.yml | 9 +++++++++ files/vault/config.hcl => templates/vault/config.hcl.j2 | 0 2 files changed, 9 insertions(+) rename files/vault/config.hcl => templates/vault/config.hcl.j2 (100%) diff --git a/tasks/pkgs/vault.yml b/tasks/pkgs/vault.yml index 5ac2caa..4fa300e 100644 --- a/tasks/pkgs/vault.yml +++ b/tasks/pkgs/vault.yml @@ -72,6 +72,15 @@ mode: '0755' src: vault/Alpine/openrc + - name: Install vault basic config.hcl + become: true + ansible.builtin.template: + src: vault/config.hcl.j2 + dest: /etc/vault/config.hcl + mode: '0644' + owner: root + group: root + - name: Set vault_configured ansible.builtin.set_fact: vault_configured: true diff --git a/files/vault/config.hcl b/templates/vault/config.hcl.j2 similarity index 100% rename from files/vault/config.hcl rename to templates/vault/config.hcl.j2