fixing and adding packages
This commit is contained in:
12
tasks/Debian/hashicorp_repo.yml
Normal file
12
tasks/Debian/hashicorp_repo.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
# install hashicorp vault for Debian/Ubuntu
|
||||
---
|
||||
- name: install hashicorp archive gpg key
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
cmd: wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
||||
|
||||
- name: enable hasicorp repo for debian
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
|
||||
state: present
|
||||
update_cache: false
|
||||
Reference in New Issue
Block a user