2023-09-08 20:41:09 +00:00
|
|
|
- name: Clone netavark github repository
|
|
|
|
git:
|
|
|
|
repo: "{{ podman_netavark_repopath }}"
|
|
|
|
dest: "{{ podman_netavark_buildpath }}"
|
|
|
|
clone: yes
|
|
|
|
update: yes
|
|
|
|
version: "{{ podman_netavark_version }}"
|
2023-09-11 20:23:53 +00:00
|
|
|
force: true
|
2023-09-08 20:41:09 +00:00
|
|
|
|
|
|
|
- name: Build 'all' target with extra arguments
|
|
|
|
make:
|
|
|
|
chdir: "{{ podman_netavark_buildpath }}"
|
|
|
|
target: "all"
|
|
|
|
params:
|
|
|
|
NUM_THREADS: 4
|
|
|
|
BACKEND: lapack
|
|
|
|
|
|
|
|
- name: "Create podman folder"
|
|
|
|
file:
|
|
|
|
path: "/usr/libexec/podman"
|
|
|
|
state: directory
|
|
|
|
mode: 'u=rwx,g=rx,o='
|
|
|
|
|
|
|
|
- name: Copy netavark file
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: "{{ podman_netavark_buildpath }}/bin/netavark"
|
|
|
|
dest: "/usr/libexec/podman/netavark"
|
|
|
|
force: true
|
|
|
|
remote_src: true
|
2023-09-11 20:23:53 +00:00
|
|
|
mode: +x
|