Skip to content

Commit

Permalink
[yum tests] add missing "always" block (ansible#71564)
Browse files Browse the repository at this point in the history
Change:
- So that if yum tests get re-run, we don't error out the second time.

Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod authored Sep 2, 2020
1 parent db519bc commit 64e2b9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/targets/yum/tasks/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -869,3 +869,10 @@
- remove is changed
- "'toaster-1.2.3.4' not in rpmqa.stdout"
- "'test-package-that-provides-toaster' in rpmqa.stdout"
always:
- name: Remove test packages
yum:
name:
- test-package-that-provides-toaster
- toaster
state: absent

0 comments on commit 64e2b9d

Please sign in to comment.