From d0c37ede9fde4a25724fbe6ec4e57426bfe7416e Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 22 May 2023 17:01:00 +0200 Subject: [PATCH] Drop OVN package installation from ovn_config OVN packages are isntalled as a part of common package installation as they're appended during neutron_package_list population. So there should be no need in having another set of tasks that install these packages. Change-Id: I119dd30b6e11e9ba373367a1b65d56d723ef0b45 --- tasks/providers/ovn_config.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tasks/providers/ovn_config.yml b/tasks/providers/ovn_config.yml index 1af68b7d..6f3d5c32 100644 --- a/tasks/providers/ovn_config.yml +++ b/tasks/providers/ovn_config.yml @@ -14,32 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: Install ovn-northd packages - package: - name: "{{ neutron_ovn_northd_distro_packages }}" - state: "{{ neutron_package_state }}" - update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}" - cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}" - register: install_packages - until: install_packages is success - retries: 5 - delay: 2 - when: - - neutron_services['neutron-ovn-northd']['group'] in group_names - -- name: Install ovn-controller packages - package: - name: "{{ neutron_ovn_controller_distro_packages }}" - state: "{{ neutron_package_state }}" - update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}" - cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}" - register: install_packages - until: install_packages is success - retries: 5 - delay: 2 - when: - - neutron_services['neutron-ovn-controller']['group'] in group_names - - name: Configure ovn-controller template: src: ovn-controller-opts.j2