---
- name: Prepare s390x worker node installation
  hosts: localhost
  gather_facts: false
  tasks:
    - name: Include ocp_mainframe role for ISO preparation
      ansible.builtin.include_role:
        name: ocp_mainframe
        tasks_from: prepare_iso.yaml

- name: Configure s390x LPARs and start installation
  hosts: s390x
  gather_facts: false
  tasks:
    - name: Include ocp_mainframe role for LPAR configuration
      ansible.builtin.include_role:
        name: ocp_mainframe
        tasks_from: configure_lpar.yaml 