lay down gentoo use file for openvswitch

Change-Id: I9d5637b0a00e3b302f98c18c113790c5a8801699
This commit is contained in:
Matthew Thode 2018-09-23 15:22:23 -05:00
parent 3566a6e9f1
commit ea5c35e8c4
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8
1 changed files with 11 additions and 0 deletions

View File

@ -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: