summaryrefslogtreecommitdiff
path: root/test/integration/targets/yum
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/yum')
-rw-r--r--test/integration/targets/yum/tasks/yum.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/yum/tasks/yum.yml b/test/integration/targets/yum/tasks/yum.yml
index 52d58d8f96..54bad92159 100644
--- a/test/integration/targets/yum/tasks/yum.yml
+++ b/test/integration/targets/yum/tasks/yum.yml
@@ -83,6 +83,16 @@
that:
- "not yum_result is changed"
+- name: install sos again with empty string enablerepo
+ yum: name=sos state=present enablerepo=""
+ register: yum_result
+- name: verify no change on third install with empty string enablerepo
+ assert:
+ that:
+ - "yum_result is success"
+ - "not yum_result is changed"
+
+
# INSTALL AGAIN WITH LATEST
- name: install sos again with state latest in check mode
yum: name=sos state=latest