mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
afda85e9ff
commit
a00ddb0217
1 file changed
+8
-4
@@ -47,15 +47,19 @@
|
||||
- name: Add HashiCorp APT repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: >-
|
||||
deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg]
|
||||
deb [arch={{ 'arm64' if ansible_architecture == 'aarch64'
|
||||
else 'amd64' if ansible_architecture == 'x86_64'
|
||||
else ansible_architecture }}
|
||||
signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg]
|
||||
https://apt.releases.hashicorp.com {{ ubuntu_codename }} main
|
||||
filename: hashicorp
|
||||
state: present
|
||||
update_cache: false
|
||||
|
||||
- name: Update apt cache
|
||||
- name: Update APT cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
|
||||
update_cache: true
|
||||
|
||||
- name: Install Vault
|
||||
apt:
|
||||
name: vault
|
||||
|
||||
Reference in new issue
Block a user