# This is a vmdb2 input file that installs Debian onto my Thinkpad # X220. It has an SSD as sdb. steps: - mklabel: gpt device: "{{ image }}" - mkpart: primary device: "{{ image }}" start: 0% end: 1G tag: efi-part - mkpart: primary device: "{{ image }}" start: 1G end: 100% tag: root-part - mkfs: vfat partition: efi-part - mkfs: ext4 partition: root-part - mount: root-part - unpack-rootfs: root-fs - debootstrap: unstable mirror: http://deb.debian.org/debian target: root-fs unless: rootfs_unpacked - apt: install packages: - linux-image-amd64 tag: root-fs unless: rootfs_unpacked - cache-rootfs: root-fs unless: rootfs_unpacked - apt: install packages: - python - console-setup - locales-all - ifupdown tag: root-fs - ansible: root-fs playbook: x220.yml - grub: uefi tag: root-fs efi: efi-part image-dev: "{{ image }}"