diff options
author | CNlucius <lukai1@huawei.com> | 2016-07-20 10:22:16 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-07-20 10:22:16 +0800 |
commit | 40a6c4a7c4729fedd88abf823a50807a3deba50e (patch) | |
tree | b3f166aa31ae6fcbec6f4c9b46a90558dfbe709d /deploy/adapters/ansible/openstack_mitaka | |
parent | 1bb3554a847a267603e14983973d05ddf43ae8f3 (diff) |
COMPASS-441
Add condition for install related onos packages
Change-Id: If8d796f6fbbf47abf0dea8eb7df7bd8ab4fb9518
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka')
-rwxr-xr-x | deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml | 1 |
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: > |