From cf11ce9b6d03365758e8ee9ad43f64b8170374a6 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Tue, 11 Sep 2018 14:33:29 +0800 Subject: Skip openvswitch reinstall task for sfc JIRA: - Change-Id: I56867d6c9b1f4db4c5f762e93dcf7164918c8ef9 Signed-off-by: Harry Huang --- deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy') diff --git a/deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml b/deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml index 2deecb3b..0ad47d3c 100644 --- a/deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml +++ b/deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml @@ -19,8 +19,10 @@ - include_vars: "{{ ansible_os_family }}.yml" when: + - odl_sfc is not defined or odl_sfc != "Enable" - NEUTRON_MECHANISM_DRIVERS[0] == "opendaylight" - include: odl.yml when: + - odl_sfc is not defined or odl_sfc != "Enable" - NEUTRON_MECHANISM_DRIVERS[0] == "opendaylight" -- cgit 1.2.3-korg