dotfiles/roles/secrets/hcv/tasks/install_Ubuntu.yml
Matej Focko 0554e665c5
chore: move out user roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:23:02 +02:00

13 lines
418 B
YAML

---
- name: Add HashiCorp GPG Key
ansible.builtin.get_url:
url: https://apt.releases.hashicorp.com/gpg
dest: /etc/apt/keyrings/hashicorp.asc
mode: 0640
become: true
- name: Add HashiCorp repository
ansible.builtin.apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
state: present
become: true