blob: 0e671324f18acc10909cb13ca270e1123c6241f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
- name: Mount ISO
become: true
mount:
name: "{{ vyos_cd_root }}"
src: "{{ vyos_iso_local }}"
fstype: iso9660
opts: loop,ro
fstab: /tmp/fstab
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
fstab: /tmp/fstab
state: mounted
|