mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
[PR #11265/d4249071 backport][stable-12] apk: fix packages return value for apk-tools >= 3 (fix #11264) (#11272)
apk: fix packages return value for apk-tools >= 3 (fix #11264) (#11265)
* apk: fix packages return value for apk-tools >= 3 (fix #11264)
* Add changelog fragment
(cherry picked from commit d424907172)
Co-authored-by: s-hamann <10639154+s-hamann@users.noreply.github.com>
This commit is contained in:
parent
0280b1ca5d
commit
0cff5dec9f
3 changed files with 12 additions and 2 deletions
|
|
@ -89,6 +89,13 @@
|
|||
- less
|
||||
- nano
|
||||
- vim
|
||||
- bash
|
||||
- bash-completion
|
||||
- bash-completion-doc
|
||||
- zsh
|
||||
- zsh-calendar
|
||||
- zsh-completions
|
||||
- zsh-doc
|
||||
state: present
|
||||
register: results
|
||||
|
||||
|
|
@ -96,7 +103,7 @@
|
|||
ansible.builtin.assert:
|
||||
that:
|
||||
- results is changed
|
||||
- (results.packages | length) >= 3
|
||||
- (results.packages | length) >= 10
|
||||
|
||||
- name: Install a bunch of packages again
|
||||
community.general.apk:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue