ansible-alpine-host/tasks/partition.yml
2022-04-09 21:29:22 -03:00

23 lines
626 B
YAML

---
- name: "Create a partition for /boot with room enough for kernel and initramfs"
parted:
device: "{{ disk_device }}"
number: 1
state: "present"
part_end: "100MiB"
flags:
- "boot"
- name: "Create a partition for /root with room enough for the base installation and some extra packages. Everything else is going to run in a container."
parted:
device: "{{ disk_device }}"
number: 2
state: "present"
part_start: "100MiB"
part_end: "1GiB"
- name: "Data holds everything else."
parted:
device: "{{ disk_device }}"
number: 3
state: "present"
part_start: "1GiB"