aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/tasks/main.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
index a917a769..50f40db7 100755
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
@@ -11,14 +11,18 @@
tags:
- test_odl
-- name: Install ODL Cluster on Controller
- include: odl_controller.yml
+- name: Provision Common on all nodes
+ include: 00_odl_common.yml
+ when: groups['odl']|length !=0
+
+- name: Provision ODL on Controller nodes
+ include: 01_odl_controller.yml
when: inventory_hostname in groups['odl']
-- name: Install ODL Cluster on Compute
- include: openvswitch.yml
+- name: Provision ODL on Compute nodes
+ include: 02_odl_compute.yml
when: groups['odl']|length !=0 and inventory_hostname not in groups['odl']
- name: Config nova
- include: odl_l3_nova.yml
+ include: 04_odl_l3_nova.yml
when: groups['odl']|length !=0 and odl_l3_agent == "Enable"