blob: 6e6b09dd7fd7040098f189948bb8206e425a3777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
- name: Mount ISO
become: true
mount:
name: "{{ vyos_cd_root }}"
src: "{{ vyos_iso_local }}"
fstype: iso9660
opts: loop,ro
state: mounted
- name: Verify checksums of all the files in the ISO image
command: md5sum -c md5sum.txt
args:
chdir: "{{ vyos_cd_root }}"
changed_when: False
- name: Mount squashfs image from ISO
become: true
mount:
name: "{{ vyos_cd_squash_root }}"
src: "{{ vyos_squashfs_image }}"
fstype: squashfs
opts: loop,ro
state: mounted
|