mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
win_chocolatey: always return the rc return value (#41883)
This commit is contained in:
parent
f30e0b833d
commit
2e46688bca
4 changed files with 8 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 'install.changed == true'
|
||||
- install.rc == 0
|
||||
|
||||
- name: install chocolatey-core.extension again
|
||||
win_chocolatey:
|
||||
|
@ -37,6 +38,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 'install_again.changed == false'
|
||||
- install.rc == 0
|
||||
|
||||
- name: remove chocolatey-core.extension
|
||||
win_chocolatey:
|
||||
|
@ -48,6 +50,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 'remove.changed == true'
|
||||
- install.rc == 0
|
||||
|
||||
- name: remove chocolatey-core.extension again
|
||||
win_chocolatey:
|
||||
|
@ -59,3 +62,4 @@
|
|||
assert:
|
||||
that:
|
||||
- 'remove_again.changed == false'
|
||||
- install.rc == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue