blob: 38469977b77bdd9852c7a7d1611aba6cfc459bb8 [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"
- name: Include infra role - {{ ocloud_infra }}
ansible.builtin.import_role:
name: "ocloud_infra_baremetal"
delegate_to: "{{ groups['deployer'][0] }}"
when: ocloud_infra == "baremetal"
- 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"
- name: Include platform role - oran-o2ims
ansible.builtin.import_role:
name: "ocloud_platform_o2ims"
delegate_to: "{{ groups['deployer'][0] }}"
when: ocloud_platform == "okd"