You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
425 B
17 lines
425 B
---
|
|
- name: Fail if not using EFI.
|
|
fail:
|
|
msg: Must boot using EFI for this disksetup strategy.
|
|
when: not efi_mode
|
|
|
|
- name: Make sure root mount point is unmounted.
|
|
command: umount -R {{ root_mount }}
|
|
changed_when: true
|
|
register: result
|
|
failed_when: result.rc != 0 and "not mounted" not in result.stderr
|
|
|
|
- include_tasks: "{{ item }}"
|
|
with_items:
|
|
- format-disk.yml
|
|
- format-parts.yml
|
|
- mount.yml
|
|
|