ansible
This commit is contained in:
2
roles/nummer5/tasks/main.yaml
Normal file
2
roles/nummer5/tasks/main.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- name: Hashicorp repo
|
||||
include_tasks: repo.yaml
|
||||
10
roles/nummer5/tasks/repo.yaml
Normal file
10
roles/nummer5/tasks/repo.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: Add Hashicorp Repo
|
||||
block:
|
||||
- name: Hashicorp GPG Key
|
||||
ansible.builtin.get_url:
|
||||
url: https://apt.releases.hashicorp.com/gpg
|
||||
dest: /etc/apt/trusted.gpg.d/hashicorp-archive-keyring.asc
|
||||
- name: Hashicorp Repo
|
||||
ansible.builtin.apt_repository:
|
||||
filename: hashicorp
|
||||
repo: deb https://apt.releases.hashicorp.com bookworm main
|
||||
Reference in New Issue
Block a user