steps: - mkimg: "{{ output }}" size: 4G - mklabel: gpt device: "{{ output }}" - mkpart: primary device: "{{ output }}" start: 0% end: 30M tag: efi - mkpart: primary device: "{{ output }}" start: 30M end: 100% tag: root - kpartx: "{{ output }}" - mkfs: vfat partition: efi - mkfs: ext4 partition: root - mount: root - unpack-rootfs: root - debootstrap: bullseye mirror: http://deb.debian.org/debian target: root unless: rootfs_unpacked - apt: install packages: - linux-image-amd64 fs-tag: root unless: rootfs_unpacked - cache-rootfs: root unless: rootfs_unpacked - apt: install packages: - python3-distutils - console-setup - locales-all - ifupdown - git - ssh - ansible - lvm2 - cryptsetup - cryptsetup-initramfs - dosfstools tag: root - ansible: root playbook: installer-ansible.yml - fstab: root - copy-file: /root/vi src: v-i perm: 0755 - copy-file: /root/std.yml src: std.yml - grub: uefi tag: root efi: efi