mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
win_chocolatey: always return the rc return value (#41883)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user