add local ansible testing
This commit is contained in:
parent
1c1ba9f637
commit
7ae5d937cc
4 changed files with 12 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -84,7 +84,7 @@ tmp/initramfs-extracted/debian-stretch: images/debian-stretch.initramfs
|
|||
touch tmp/initramfs-extracted/debian-stretch
|
||||
|
||||
$(qemu_disk): tmp
|
||||
qemu-img create "$@" 4G
|
||||
qemu-img create "$@" 20G
|
||||
|
||||
tmp/netboot.tar.gz: tmp
|
||||
wget -c -O "$@" https://cdn-aws.deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/netboot.tar.gz
|
||||
|
|
|
|||
7
README.md
Normal file
7
README.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
## Testing
|
||||
|
||||
### ansible
|
||||
|
||||
root: `packer/ansible`
|
||||
|
||||
`ansible-playbook -u root -i inventories/qemu playbook.yml -t windowmanager`
|
||||
|
|
@ -17,3 +17,6 @@
|
|||
- role: labsync
|
||||
tags:
|
||||
- labsync
|
||||
- role: windowmanager
|
||||
tags:
|
||||
- windowmanager
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ PARTTABLE
|
|||
fi
|
||||
|
||||
labsync_create_or_resize_lv "$vg_name" "$lv_name_sqashfs" $((image_size_bytes * 2)) $image_size_bytes
|
||||
labsync_create_or_resize_lv "$vg_name" "$lv_name_overlay" $((500 * 1024 * 1024))
|
||||
labsync_create_or_resize_lv "$vg_name" "$lv_name_overlay" $((10000 * 1024 * 1024))
|
||||
|
||||
#lvm vgchange -ay "$vg_name"
|
||||
#lvm lvscan -a --ignorelockingfailure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue