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
+7
-3
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user