Skip to content
Snippets Groups Projects

install_arch: verify bootstrap image signature

Merged Matt Nelson requested to merge matt-1-2-3/infrastructure:fix_for_issue_458 into master
@@ -42,9 +42,20 @@
- name: Download bootstrap image
get_url:
url: https://geo.mirror.pkgbuild.com/iso/{{ bootstrap_version }}/archlinux-bootstrap-x86_64.tar.gz
url: "{{ item }}"
dest: /tmp/
mode: 0644
loop:
- https://geo.mirror.pkgbuild.com/iso/{{ bootstrap_version }}/archlinux-bootstrap-x86_64.tar.gz
- https://geo.mirror.pkgbuild.com/iso/{{ bootstrap_version }}/archlinux-bootstrap-x86_64.tar.gz.sig
- name: Get pierre's key
ansible.builtin.command: gpg --locate-keys pierre@archlinux.de
changed_when: false
- name: Get signature verification output
command: gpg --verify /tmp/archlinux-bootstrap-x86_64.tar.gz.sig
changed_when: false
- name: Extract boostrap image # noqa risky-file-permissions
unarchive:
Loading