summaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorCNlucius <lukai1@huawei.com>2016-07-15 18:26:01 +0800
committerCNlucius <lukai1@huawei.com>2016-07-15 18:26:43 +0800
commitcbe32e01a56da7289d2348893dbafb90d373a787 (patch)
tree88caaa9e337524f8000777cd7d97459c8cbdde61 /deploy/adapters
parentab4e25d124e1fcb35f06acdee687d0630e4fb8be (diff)
COMPASS-437
add install onos related package Change-Id: I1d2fe3687a1c38fafce4fab61ba2929375d7d0c7 Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'deploy/adapters')
-rwxr-xr-xdeploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml4
-rwxr-xr-xdeploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml b/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml
index c8ce1155..e9b985c2 100755
--- a/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml
+++ b/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml
@@ -9,6 +9,10 @@
---
- include_vars: "{{ ansible_os_family }}.yml"
+- name: install onos related packages
+ action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
+ with_items: packages | union(packages_noarch)
+
- name: remove neutron-plugin-openvswitch-agent auto start
shell: >
update-rc.d neutron-plugin-openvswitch-agent remove;
diff --git a/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml b/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml
index f11f1102..0f6204e2 100755
--- a/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml
+++ b/deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml
@@ -6,6 +6,10 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+---
+packages_noarch: []
+
+services_noarch: []
onos_pkg_name: onos-1.6.0.tar.gz
onos_home: /opt/onos/
karaf_dist: apache-karaf-3.0.5