From 63a7968d8d968663c4a19be164a0bdfb641491ea Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 27 Jun 2022 13:38:16 +0200 Subject: ovn: Break out role into ovn-db and ovn-controller roles Instead of handling everything in one role - let's have small fit-for-purpose roles, because in reality these are two hosts roles and performance should be better with this approach. [1]: https://docs.ovn.org/en/latest/intro/install/ovn-upgrades.html Change-Id: I8f9dbe9d950323f16375ad5e1dbaedfb1be6585f --- ansible/site.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'ansible/site.yml') diff --git a/ansible/site.yml b/ansible/site.yml index cdf9c0785..0b4a7f20f 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -651,18 +651,27 @@ tags: ovs-dpdk, when: "(enable_openvswitch | bool) and (enable_ovs_dpdk | bool)"} -- name: Apply role ovn +- name: Apply role ovn-db gather_facts: false hosts: - - ovn-controller - ovn-nb-db - ovn-northd - ovn-sb-db - '&enable_ovn_True' serial: '{{ kolla_serial|default("0") }}' roles: - - { role: ovn, - tags: ovn } + - { role: ovn-db, + tags: [ovn, ovn-db] } + +- name: Apply role ovn-controller + gather_facts: false + hosts: + - ovn-controller + - '&enable_ovn_True' + serial: '{{ kolla_serial|default("0") }}' + roles: + - { role: ovn-controller, + tags: [ovn, ovn-controller] } - name: Apply role neutron gather_facts: false -- cgit v1.2.3