From cbe32e01a56da7289d2348893dbafb90d373a787 Mon Sep 17 00:00:00 2001 From: CNlucius Date: Fri, 15 Jul 2016 18:26:01 +0800 Subject: COMPASS-437 add install onos related package Change-Id: I1d2fe3687a1c38fafce4fab61ba2929375d7d0c7 Signed-off-by: CNlucius --- .../ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml | 4 ++++ .../ansible/openstack_mitaka/roles/onos_cluster/vars/main.yml | 4 ++++ 2 files changed, 8 insertions(+) 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 -- cgit 1.2.3-korg