summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2023-10-03 18:37:34 +0200
committerGitHub <noreply@github.com>2023-10-03 18:37:34 +0200
commitb3408ab80b67853d74e9898c708f6cc45374218e (patch)
tree7055f11adfe430facc206087dc354ef7a2ac0981 /test/integration
parentAdd intentional tests for dnf group remove (#81739) (diff)
downloadansible-b3408ab80b67853d74e9898c708f6cc45374218e.tar.xz
ansible-b3408ab80b67853d74e9898c708f6cc45374218e.zip
Fix dnf module crash for non-existent url (#81801)
* ci_complete ci_coverage
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/targets/dnf/tasks/dnf.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/dnf/tasks/dnf.yml b/test/integration/targets/dnf/tasks/dnf.yml
index 61c523f627..362ad367e2 100644
--- a/test/integration/targets/dnf/tasks/dnf.yml
+++ b/test/integration/targets/dnf/tasks/dnf.yml
@@ -510,6 +510,7 @@
that:
- "dnf_result is failed"
- "not dnf_result.changed"
+ - "'Failure downloading' in dnf_result.msg or 'Failed to download' in dnf_result.msg"
- name: verify dnf module outputs
assert: