summaryrefslogtreecommitdiff
path: root/test/integration/targets/win_chocolatey
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2018-06-25 08:23:31 +1000
committerGitHub <noreply@github.com>2018-06-25 08:23:31 +1000
commit2e46688bca5e81b57bee824bce0c46483c1d43ae (patch)
treee7fc1367eb1ec6fa8ba092f481c394ae5709f271 /test/integration/targets/win_chocolatey
parentf30e0b833daf25ea10e3fc535adc385a30b3ce04 (diff)
downloadansible-2e46688bca5e81b57bee824bce0c46483c1d43ae.tar.gz
win_chocolatey: always return the rc return value (#41883)
Diffstat (limited to 'test/integration/targets/win_chocolatey')
-rw-r--r--test/integration/targets/win_chocolatey/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/win_chocolatey/tasks/main.yml b/test/integration/targets/win_chocolatey/tasks/main.yml
index 0571e240a4..9002975aec 100644
--- a/test/integration/targets/win_chocolatey/tasks/main.yml
+++ b/test/integration/targets/win_chocolatey/tasks/main.yml
@@ -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