summaryrefslogtreecommitdiff
path: root/test/integration/targets/yum
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2020-09-02 11:35:20 -0500
committerGitHub <noreply@github.com>2020-09-02 11:35:20 -0500
commit64e2b9da3bbaaf7021edfc0afd69288c953d1e8e (patch)
tree05453dab36f42f2e1da2e5361aa7c5fd5f528e3a /test/integration/targets/yum
parentdb519bc17c1ff0c6e095d022bfe988eb87630090 (diff)
downloadansible-64e2b9da3bbaaf7021edfc0afd69288c953d1e8e.tar.gz
[yum tests] add missing "always" block (#71564)
Change: - So that if yum tests get re-run, we don't error out the second time. Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'test/integration/targets/yum')
-rw-r--r--test/integration/targets/yum/tasks/yum.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/yum/tasks/yum.yml b/test/integration/targets/yum/tasks/yum.yml
index 2431e9aa5c..18e9fe566c 100644
--- a/test/integration/targets/yum/tasks/yum.yml
+++ b/test/integration/targets/yum/tasks/yum.yml
@@ -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