This commit is contained in:
jaydee committed 2026-10-13 01:21:58 +02:00
1 parent afda85e9ff
commit a00ddb0217
1 file changed
+7 -3
+7 -3
View File
@@ -47,14 +47,18 @@
- name: Add HashiCorp APT repository - name: Add HashiCorp APT repository
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
repo: >- 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 https://apt.releases.hashicorp.com {{ ubuntu_codename }} main
filename: hashicorp filename: hashicorp
state: present state: present
update_cache: false
- name: Update apt cache - name: Update APT cache
ansible.builtin.apt: ansible.builtin.apt:
update_cache: yes update_cache: true
- name: Install Vault - name: Install Vault
apt: apt: