You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/dnf5/playbook.yml

20 lines
555 B
YAML

- hosts: localhost
tasks:
- block:
- command: "dnf install -y 'dnf-command(copr)'"
- command: dnf copr enable -y rpmsoftwaremanagement/dnf5-unstable
- command: dnf install -y python3-libdnf5
- include_role:
name: dnf
vars:
dnf5: true
dnf_log_files:
- /var/log/dnf5.log
when:
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version is version('37', '>=')
module_defaults:
dnf:
use_backend: dnf5