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
c60807239a
commit
afda85e9ff
1 file changed
+12
-6
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user