summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/dnf/tasks/main.yml
diff options
context:
space:
mode:
authorAmin Vakil <info@aminvakil.com>2020-07-27 12:02:07 +0200
committerGitHub <noreply@github.com>2020-07-27 12:02:07 +0200
commit9d2982549d5af1e64b8df20f7a60adae5f351a4a (patch)
tree19f9b284452d2920fae8cbb0fb54791a59dedfc2 /test/integration/targets/dnf/tasks/main.yml
parent[ansible_builtin_runtime.yml] fix text[fs]m typo (#70893) (diff)
downloadansible-9d2982549d5af1e64b8df20f7a60adae5f351a4a.tar.xz
ansible-9d2982549d5af1e64b8df20f7a60adae5f351a4a.zip
dnf: Add nobest option (#70318)
* dnf: Add nobest option * dnf: Fix indent, add nobest specifically to dnf not yum * Add changelog for dnf: add nobest option * dnf: Add nobest to yumdnf module argument_spec * dnf: remove nobest from module paramaters in yumdnf.py * dnf: Add test for nobest option * dnf: Cleanup packages in nobest test at last * dnf: Cleanup manually added repos in nobest test at last * dnf: Remove dnf-plugins-core as well in nobest test * dnf: Change nobest release version to 2.11 * Change changelog number according to change in PR number * Change changelog number according to change in PR number
Diffstat (limited to 'test/integration/targets/dnf/tasks/main.yml')
-rw-r--r--test/integration/targets/dnf/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/dnf/tasks/main.yml b/test/integration/targets/dnf/tasks/main.yml
index 0588118403..891c0c7235 100644
--- a/test/integration/targets/dnf/tasks/main.yml
+++ b/test/integration/targets/dnf/tasks/main.yml
@@ -44,3 +44,7 @@
- include_tasks: logging.yml
when: (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('31', '>=')) or
(ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>='))
+
+- include_tasks: nobest.yml
+ when: (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('24', '>=') and ansible_distribution_major_version is version('31', '<=')) or
+ (ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>='))