dotfiles/roles/user/secrets/hcv/tasks/install_user.yml
Matej Focko 6f29e49597
feat(user/secrets/hcv): add HC Vault task
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-09-06 11:25:37 +02:00

12 lines
331 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: Download the latest release
ansible.builtin.unarchive:
src: https://releases.hashicorp.com/vault/1.14.2/vault_1.14.2_linux_amd64.zip
dest: ~/.local/bin/
remote_src: yes
creates: ~/.local/bin/vault
- name: Make vault executable
ansible.builtin.file:
path: ~/.local/bin/vault
mode: u+x