initial: no secrets

This commit is contained in:
2024-02-12 17:01:18 +01:00
commit cf9efd55b5
186 changed files with 8697 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
- name: Copy Hashicorp APT-key
copy:
src: hashicorp-archive-keyring.gpg
dest: /usr/share/keyrings/
mode: 0644
notify:
- apt update
- name: Add hashicorp apt repo
copy:
src: hashicorp.list
dest: /etc/apt/sources.list.d/
mode: 0644
notify:
- apt update
- meta: flush_handlers
- name: Install vault
apt:
name: vault
state: present
- name: Template config
template:
src: "{{ item }}"
dest: "/etc/vault.d/"
with_items:
- vault.hcl
- vault.env