summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_juno
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-08-10 04:52:34 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-08-21 22:21:35 -0400
commit0597d98b2169ec834bcdb18ea6e11ba59120e529 (patch)
treed935a0839ff821ec60e242025e717160de73c81a /deploy/adapters/ansible/openstack_juno
parentfa0b0bebe9130e71f9b41659a233b61406eab884 (diff)
Write ansible script for ODL Cluster
JIRA: COMPASS-12 Change-Id: I8d795124262564c99da4f738235d9af0221503fe Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_juno')
-rw-r--r--deploy/adapters/ansible/openstack_juno/HA-ansible-multinodes.yml6
-rw-r--r--deploy/adapters/ansible/openstack_juno/single-controller.yml6
2 files changed, 12 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_juno/HA-ansible-multinodes.yml b/deploy/adapters/ansible/openstack_juno/HA-ansible-multinodes.yml
index a5547d07..c330172d 100644
--- a/deploy/adapters/ansible/openstack_juno/HA-ansible-multinodes.yml
+++ b/deploy/adapters/ansible/openstack_juno/HA-ansible-multinodes.yml
@@ -34,6 +34,12 @@
- neutron-compute
- cinder-volume
+- hosts: odl
+ remote_user: root
+ sudo: True
+ roles:
+ - odl_cluster
+
- hosts: all
remote_user: root
sudo: True
diff --git a/deploy/adapters/ansible/openstack_juno/single-controller.yml b/deploy/adapters/ansible/openstack_juno/single-controller.yml
index 4539e5fb..96ec0a6a 100644
--- a/deploy/adapters/ansible/openstack_juno/single-controller.yml
+++ b/deploy/adapters/ansible/openstack_juno/single-controller.yml
@@ -30,3 +30,9 @@
- common
- nova-compute
- neutron-compute
+
+- hosts: odl
+ remote_user: root
+ sudo: True
+ roles:
+ - odl