diff options
author | Sloane Hertel <19572925+s-hertel@users.noreply.github.com> | 2022-08-31 13:22:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 12:22:47 -0500 |
commit | 702eadf21bfb0ef341febd6abf5d8cd85cc494fa (patch) | |
tree | 3b6daf419265be1781a8c592cb730ac26be80b50 /changelogs/fragments | |
parent | b2553d162d948002284bd5c481ae11fda12cf1a9 (diff) | |
download | ansible-702eadf21bfb0ef341febd6abf5d8cd85cc494fa.tar.gz |
Fix apt making changes in check mode (#78496) (#78530)
* Don't actually update the cache in check mode
Add tests for updating the cache in check mode
* Don't mark packages as manually installed in check mode and add a test for it
* changelog
* Update test/integration/targets/apt/tasks/apt.yml
* fix test
(cherry picked from commit 3add5e932178799f8409f3255f148260efa7b4ac)
Diffstat (limited to 'changelogs/fragments')
-rw-r--r-- | changelogs/fragments/78496-fix-apt-check-mode.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/78496-fix-apt-check-mode.yml b/changelogs/fragments/78496-fix-apt-check-mode.yml new file mode 100644 index 0000000000..25d6ae8466 --- /dev/null +++ b/changelogs/fragments/78496-fix-apt-check-mode.yml @@ -0,0 +1,3 @@ +bugfixes: + - apt - don't actually update the cache in check mode with update_cache=true. + - apt - don't mark existing packages as manually installed in check mode (https://github.com/ansible/ansible/issues/66413). |