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