From ea5c35e8c4fb7d0c2c5254f359f7b8c43065e7ba Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sun, 23 Sep 2018 15:22:23 -0500 Subject: [PATCH] lay down gentoo use file for openvswitch Change-Id: I9d5637b0a00e3b302f98c18c113790c5a8801699 --- roles/multi-node-bridge/tasks/common.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/multi-node-bridge/tasks/common.yaml b/roles/multi-node-bridge/tasks/common.yaml index faa3ef6ec..d07e9993b 100644 --- a/roles/multi-node-bridge/tasks/common.yaml +++ b/roles/multi-node-bridge/tasks/common.yaml @@ -17,6 +17,17 @@ - ansible_distribution != "Fedora" register: centos_ovs +- name: Set package.use values for OVS on Gentoo + become: yes + lineinfile: + path: /etc/portage/package.use/ovs + line: "{{ item.line }}" + with_items: + - { line: 'dev-python/twisted conch # for openvswitch' } + - { line: 'net-misc/openvswitch -modules # ovs/gre are staticly built' } + when: + - ansible_distribution == 'Gentoo' + - name: Install openvswitch become: yes package: