summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/yum_repository
diff options
context:
space:
mode:
authorDmitriy Rabotyagov <contact@nodead.net>2020-06-30 21:48:36 +0200
committerGitHub <noreply@github.com>2020-06-30 21:48:36 +0200
commit8324db7cb5f7fbe45fef9b5485e7f8f2ce1f142c (patch)
tree9c4e7102e29bc495adf572538cd626ed250b89d0 /test/integration/targets/yum_repository
parentFix some missing migrates from network.common to mellanox.onyx (#70394) (diff)
downloadansible-8324db7cb5f7fbe45fef9b5485e7f8f2ce1f142c.tar.xz
ansible-8324db7cb5f7fbe45fef9b5485e7f8f2ce1f142c.zip
Add new option for YUM4/DNF repositories (#70042)
Documentation reference: https://dnf.readthedocs.io/en/stable/conf_ref.html Co-authored-by: Estelle Poulin <dev@inspiredby.es>
Diffstat (limited to 'test/integration/targets/yum_repository')
-rw-r--r--test/integration/targets/yum_repository/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/yum_repository/tasks/main.yml b/test/integration/targets/yum_repository/tasks/main.yml
index 3884d46c0d..1eabf51b03 100644
--- a/test/integration/targets/yum_repository/tasks/main.yml
+++ b/test/integration/targets/yum_repository/tasks/main.yml
@@ -114,6 +114,7 @@
file: "{{ yum_repository_test_repo.name ~ 2 }}"
ip_resolve: 4
keepalive: no
+ module_hotfixes: no
register: test_repo_add1
- name: check that options are correctly getting written to the repo file
@@ -124,6 +125,7 @@
- "'enablegroups = 0' in repo_file_contents"
- "'ip_resolve = 4' in repo_file_contents"
- "'keepalive = 0' in repo_file_contents"
+ - "'module_hotfixes = 0' in repo_file_contents"
vars:
repo_file: "{{ '/etc/yum.repos.d/' ~ yum_repository_test_repo.name ~ '2.repo' }}"
repo_file_contents: "{{ lookup('file', repo_file) }}"
@@ -138,6 +140,7 @@
file: "{{ yum_repository_test_repo.name ~ 2 }}"
ip_resolve: 4
keepalive: no
+ module_hotfixes: no
register: test_repo_add2
- name: check Idempotant