summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/onos_cluster/tasks/main.yml
blob: c3e7c7b7933b94ab876f95a207f0c62e20290794 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- include_vars: "{{ ansible_os_family }}.yml"

- name: Install ONOS Cluster on Controller
  include: onos_controller.yml
  when: inventory_hostname in groups['onos']

- name: Install ONOS Cluster on Compute
  include: openvswitch.yml
  when: groups['onos']|length !=0 and inventory_hostname not in groups['onos']