This commit is contained in:
jaydee committed 2026-10-13 01:20:29 +02:00
1 parent c60807239a
commit afda85e9ff
1 file changed
+12 -6
+12 -6
View File
@@ -11,19 +11,25 @@
- unzip - unzip
- gnupg - gnupg
- python3-debian - python3-debian
- ca-certificates
- gpg
state: present state: present
update_cache: yes update_cache: yes
- name: Download HashiCorp GPG key - name: Download HashiCorp repository signing key
ansible.builtin.get_url: ansible.builtin.get_url:
url: https://apt.releases.hashicorp.com/gpg url: https://apt.releases.hashicorp.com/gpg
dest: /tmp/hashicorp.gpg dest: /tmp/hashicorp-archive-keyring.asc
owner: root
group: root
mode: '0644' mode: '0644'
- name: Dearmor HashiCorp GPG key - name: Install HashiCorp repository signing key
ansible.builtin.command: ansible.builtin.shell:
cmd: gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg /tmp/hashicorp.gpg cmd: >-
args: gpg --dearmor --yes
--output /usr/share/keyrings/hashicorp-archive-keyring.gpg
/tmp/hashicorp-archive-keyring.asc
creates: /usr/share/keyrings/hashicorp-archive-keyring.gpg creates: /usr/share/keyrings/hashicorp-archive-keyring.gpg
- name: Read os-release - name: Read os-release