summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/dnf5/playbook.yml
blob: a1024f4b3dd073c95c2ad7483a0fd30a16023888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- hosts: localhost
  tasks:
    - block:
        - command: "dnf install -y 'dnf-command(copr)'"
        - command: dnf copr enable -y rpmsoftwaremanagement/dnf-nightly
        - command: dnf install -y -x condor python3-libdnf5

        - include_role:
            name: dnf
          vars:
            dnf5: true
            dnf_log_files:
              - /var/log/dnf5.log
      when: ansible_distribution == 'Fedora'
      module_defaults:
        dnf:
          use_backend: dnf5