Update to 2022-08-31 13:00

This commit is contained in:
Daniel Berteaud
2022-08-31 13:00:17 +02:00
parent 416ed9c867
commit c10fd506f3
18 changed files with 491 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
- name: Generate self-signed certificate
import_tasks: ../includes/create_selfsigned_cert.yml
vars:
cert_path: "{{ vault_root_dir }}/tls/vault.crt"
cert_key_path: "{{ vault_root_dir }}/tls/vault.key"
cert_key_group: "{{ vault_user }}"
cert_key_mode: 640
tags: vault
- name: Deploy vault configuration
template:
src: vault.hcl.j2
dest: "{{ vault_root_dir }}/etc/vault.hcl"
owner: "{{ vault_user }}"
group: "{{ vault_user }}"
mode: 0400
notify: restart vault
tags: vault