blob: 6439b1532c57b2a9f769c9723f8c14b6116be761 (
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
state: mounted
boot: no
- 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
boot: no
|