mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Add checksum to metal ISO installer file
Avoid redownload the ISO and check the ISO integrity
This commit is contained in:
parent
bc28aef29d
commit
8d6c1b6889
@ -1,4 +1,5 @@
|
||||
iso_url: "https://mirrors.nhanhoa.com/centos/8.3.2011/isos/x86_64/CentOS-8.3.2011-x86_64-dvd1.iso"
|
||||
iso_checksum: "sha256:aaf9d4b3071c16dbbda01dfe06085e5d0fdac76df323e3bbe87cce4318052247"
|
||||
|
||||
disk: "sda"
|
||||
dns_server: "8.8.8.8"
|
||||
|
@ -16,6 +16,7 @@
|
||||
get_url:
|
||||
url: "{{ iso_url }}"
|
||||
dest: "{{ role_path }}/build/images/centos8.iso"
|
||||
checksum: "{{ iso_checksum }}"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Mount the ISO
|
||||
|
Loading…
Reference in New Issue
Block a user