summaryrefslogtreecommitdiff
path: root/test/integration/targets/apt
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/apt')
-rw-r--r--test/integration/targets/apt/tasks/apt.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/targets/apt/tasks/apt.yml b/test/integration/targets/apt/tasks/apt.yml
index 7aab018ec2..9cdd7837e8 100644
--- a/test/integration/targets/apt/tasks/apt.yml
+++ b/test/integration/targets/apt/tasks/apt.yml
@@ -160,3 +160,12 @@
that:
- "not apt_result.changed"
- "apt_result.failed"
+
+- name: autoclean during install
+ apt: pkg=hello state=present autoclean=yes
+
+- name: autoclean
+ apt: autoclean=yes
+
+- name: autoremove
+ apt: autoremove=yes