aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorCNlucius <lukai1@huawei.com>2016-07-20 10:22:16 +0800
committerCNlucius <lukai1@huawei.com>2016-07-20 10:22:16 +0800
commit40a6c4a7c4729fedd88abf823a50807a3deba50e (patch)
treeb3f166aa31ae6fcbec6f4c9b46a90558dfbe709d /deploy
parent1bb3554a847a267603e14983973d05ddf43ae8f3 (diff)
COMPASS-441
Add condition for install related onos packages Change-Id: If8d796f6fbbf47abf0dea8eb7df7bd8ab4fb9518 Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml1
1 files changed, 1 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 dc0d51ef..bda2ba30 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
@@ -12,6 +12,7 @@
- name: install onos related packages
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
with_items: packages | union(packages_noarch)
+ when: groups['onos']|length !=0
- name: remove neutron-openvswitch-agent auto start
shell: >