toolbox/playbooks/fedora-32/setup-env.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

---
- 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
- name: Setup environment
become: yes
command:
cmd: systemd-tmpfiles --create
creates: /run/media
- name: Check versions of crucial packages
command: rpm -q golang podman crun conmon fuse-overlayfs flatpak-session-helper
- 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