32 lines
740 B
YAML
32 lines
740 B
YAML
|
- name: Clone podman github repository
|
||
|
git:
|
||
|
repo: "{{ podman_podman_repopath }}"
|
||
|
dest: "{{ podman_podman_buildpath }}"
|
||
|
clone: yes
|
||
|
update: yes
|
||
|
version: "{{ podman_version }}"
|
||
|
|
||
|
- name: Build 'all' target with extra arguments
|
||
|
make:
|
||
|
chdir: "{{ podman_podman_buildpath }}"
|
||
|
target: "all"
|
||
|
params:
|
||
|
BUILDTAGS: "systemd seccomp"
|
||
|
|
||
|
- name: Build 'install' target with extra arguments
|
||
|
make:
|
||
|
chdir: "{{ podman_podman_buildpath }}"
|
||
|
target: install
|
||
|
params:
|
||
|
PREFIX: "/usr"
|
||
|
|
||
|
- name: Setup systemd service
|
||
|
ansible.builtin.template:
|
||
|
src: podman-docker.service
|
||
|
dest: /lib/systemd/system/podman-docker.service
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
notify:
|
||
|
- "Reload systemd"
|