diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-15 08:09:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-15 08:09:37 +0300 |
commit | 2d74794df8ed4d7e63d522e063b0b81b663203ed (patch) | |
tree | 5fb6abd2a9cad181a5b501f15af5580517d3dd6b /worker-scap.vmdb | |
parent | 3d8635416d078ae7f67c5927e21c9882a46dbbc6 (diff) | |
download | ick-contractor-2d74794df8ed4d7e63d522e063b0b81b663203ed.tar.gz |
Add: worker spec for Scap
Diffstat (limited to 'worker-scap.vmdb')
-rw-r--r-- | worker-scap.vmdb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/worker-scap.vmdb b/worker-scap.vmdb new file mode 100644 index 0000000..ba1c857 --- /dev/null +++ b/worker-scap.vmdb @@ -0,0 +1,44 @@ +steps: + - mkimg: "{{ output }}" + size: 4G + + - mklabel: msdos + device: "{{ output }}" + + - mkpart: primary + device: "{{ output }}" + start: 0% + end: 100% + tag: / + + - kpartx: "{{ output }}" + + - mkfs: ext4 + partition: / + + - mount: / + + - unpack-rootfs: / + + - debootstrap: jessie + mirror: http://deb.debian.org/debian + target: / + unless: rootfs_unpacked + + - apt: install + packages: + - linux-image-amd64 + - python + tag: / + unless: rootfs_unpacked + + - cache-rootfs: / + unless: rootfs_unpacked + + - fstab: / + + - ansible: / + playbook: worker-scap.yml + + - grub: bios + tag: / |