diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2022-06-27 13:38:16 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2022-11-28 13:52:30 +0100 |
| commit | 63a7968d8d968663c4a19be164a0bdfb641491ea (patch) | |
| tree | 2f5ce490262e25c3b448d04594e23311aac6468c /ansible/site.yml | |
| parent | 68376d6f313895711dcd6dc992be1e8cdcf459a0 (diff) | |
| download | kolla-ansible-63a7968d8d968663c4a19be164a0bdfb641491ea.tar.gz kolla-ansible-63a7968d8d968663c4a19be164a0bdfb641491ea.zip | |
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
Diffstat (limited to 'ansible/site.yml')
| -rw-r--r-- | ansible/site.yml | 17 |
1 files changed, 13 insertions, 4 deletions
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 |
