adds hashicorp apt key role

This commit is contained in:
James Hackett 2022-12-08 01:57:52 +00:00
parent c5281bd0fb
commit f69a8b87d1

View file

@ -0,0 +1,12 @@
---
- name: Add hashicorp GPG key
become: true
apt_key:
url: https://apt.releases.hashicorp.com/gpg
state: present
- name: Add hashicorp repository
become: true
apt_repository:
repo: deb [arch=amd64] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main
state: present