summaryrefslogtreecommitdiff
path: root/test/integration/targets/dnf5/playbook.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/dnf5/playbook.yml')
-rw-r--r--test/integration/targets/dnf5/playbook.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/integration/targets/dnf5/playbook.yml b/test/integration/targets/dnf5/playbook.yml
new file mode 100644
index 0000000000..16dfd22e36
--- /dev/null
+++ b/test/integration/targets/dnf5/playbook.yml
@@ -0,0 +1,19 @@
+- 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