diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-09-11 14:33:29 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-09-11 14:33:29 +0800 |
commit | cf11ce9b6d03365758e8ee9ad43f64b8170374a6 (patch) | |
tree | c3cd2fe1fb8b2459ed6d42ca47955cbd9ba961ed /deploy/adapters/ansible | |
parent | a4a53a8296744f52164a2808b4c5933f02b4947c (diff) |
Skip openvswitch reinstall task for sfc
JIRA: -
Change-Id: I56867d6c9b1f4db4c5f762e93dcf7164918c8ef9
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r-- | deploy/adapters/ansible/roles/setup-openvswitch/tasks/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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" |