blob: 6820b375589abbb8c041550ca749509ae0e20ba1 [file] [log] [blame]
---
- name: Include platform role - {{ ocloud_platform }}
ansible.builtin.import_role:
name: "ocloud_platform_okd"
delegate_to: "{{ groups['deployer'][0] }}"
when: ocloud_platform == "okd"
- name: Include infra role - {{ ocloud_infra }}
ansible.builtin.import_role:
name: "ocloud_infra_vm"
delegate_to: "{{ groups['kvm'][0] }}"
when: ocloud_infra == "vm"
- meta: flush_handlers
- name: Include platform role - Stolostron
ansible.builtin.import_role:
name: "ocloud_platform_stolostron"
delegate_to: "{{ groups['deployer'][0] }}"
when: ocloud_platform == "okd"