2020-05-14 08:05:00 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: Install requirements
|
|
|
|
become: yes
|
|
|
|
package:
|
|
|
|
use: dnf
|
|
|
|
name:
|
|
|
|
- golang
|
|
|
|
- golang-github-cpuguy83-md2man
|
|
|
|
- ninja-build
|
|
|
|
- meson
|
|
|
|
- flatpak-session-helper
|
|
|
|
- systemd
|
|
|
|
- bats
|
|
|
|
- bash-completion
|
|
|
|
- udisks2
|
|
|
|
- podman
|
|
|
|
|
2020-12-21 14:00:17 +00:00
|
|
|
- name: Setup environment
|
|
|
|
become: yes
|
|
|
|
command:
|
|
|
|
cmd: systemd-tmpfiles --create
|
|
|
|
creates: /run/media
|
2020-05-14 08:05:00 +00:00
|
|
|
|
|
|
|
- name: Check versions of crucial packages
|
|
|
|
command: rpm -q golang podman crun conmon fuse-overlayfs flatpak-session-helper
|
|
|
|
|
2020-12-21 14:54:29 +00:00
|
|
|
- name: Pull registry.fedoraproject.org/f32/fedora-toolbox:32
|
|
|
|
command: podman pull registry.fedoraproject.org/f32/fedora-toolbox:32
|
|
|
|
register: _podman
|
|
|
|
until: _podman.rc == 0
|
|
|
|
retries: 5
|
|
|
|
delay: 10
|
|
|
|
|
|
|
|
- name: Pull registry.fedoraproject.org/f29/fedora-toolbox:29
|
|
|
|
command: podman pull registry.fedoraproject.org/f29/fedora-toolbox:29
|
|
|
|
register: _podman
|
|
|
|
until: _podman.rc == 0
|
|
|
|
retries: 5
|
|
|
|
delay: 10
|