diff --git a/roles/multi-node-bridge/tasks/common.yaml b/roles/multi-node-bridge/tasks/common.yaml index 758b46c56..8fda29f2e 100644 --- a/roles/multi-node-bridge/tasks/common.yaml +++ b/roles/multi-node-bridge/tasks/common.yaml @@ -41,6 +41,17 @@ package: name: "{{ ovs_package }}" state: present + when: + - ansible_distribution != 'Gentoo' + +- name: Install openvswitch (Gentoo) + become: yes + package: + name: "{{ ovs_package }}" + state: present + jobs: 8 + when: + - ansible_distribution == 'Gentoo' - name: Ensure openvswitch is started become: yes