diff options
author | Brendan Almonte <brendana@zillowgroup.com> | 2017-05-25 12:52:41 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-05-25 14:18:20 -0700 |
commit | 2af5556901f0847d835af60f58769a8dd94c4415 (patch) | |
tree | a194e0740207019171f45926832d49c10d19caa8 /test/integration/targets/apt | |
parent | 8fca263560741e19405e23608029db75b27faa2d (diff) | |
download | ansible-2af5556901f0847d835af60f58769a8dd94c4415.tar.gz |
Added autoclean/autoremove for the apt module
- Removed alias autoclean from autoremove.
- Added independent execution of apt-get autoclean/autoremove
- Continued to support --auto-remove as a flag to install/remove
Fixes #22222 #24718
Diffstat (limited to 'test/integration/targets/apt')
-rw-r--r-- | test/integration/targets/apt/tasks/apt.yml | 9 |
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 |