From 40a6c4a7c4729fedd88abf823a50807a3deba50e Mon Sep 17 00:00:00 2001 From: CNlucius Date: Wed, 20 Jul 2016 10:22:16 +0800 Subject: COMPASS-441 Add condition for install related onos packages Change-Id: If8d796f6fbbf47abf0dea8eb7df7bd8ab4fb9518 Signed-off-by: CNlucius --- .../adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'deploy/adapters') 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: > -- cgit 1.2.3-korg