--- - 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 {{ partitioning_root_mount_point }} 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