set jobs for installing openvswitch
On Gentoo this allows multiple packages to compile/install at once. Change-Id: I23fd629a351b4c6b2acc325611ed47cc04bca404 Signed-off-by: Matthew Thode <mthode@mthode.org>
This commit is contained in:
parent
84b7c745b2
commit
a5ace834b1
@ -41,6 +41,17 @@
|
|||||||
package:
|
package:
|
||||||
name: "{{ ovs_package }}"
|
name: "{{ ovs_package }}"
|
||||||
state: present
|
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
|
- name: Ensure openvswitch is started
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user