summaryrefslogtreecommitdiff
path: root/test/integration/targets/win_feature
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2018-02-22 11:33:48 +1000
committerGitHub <noreply@github.com>2018-02-22 11:33:48 +1000
commitef4f8851dc46429622465d9fc24912abc1303271 (patch)
tree4b048004f70274f66ec3b2961ae13c7a4df9b27b /test/integration/targets/win_feature
parent3abaa43b1c3d4b3d0a573ee2d2a14288947f4368 (diff)
downloadansible-ef4f8851dc46429622465d9fc24912abc1303271.tar.gz
win_feature: better error handling to make it easier to debug issues (#36491)
* win_feature: better error handling to make it easier to debug issues * removed ignroed pslint rules that are no longer needed
Diffstat (limited to 'test/integration/targets/win_feature')
-rw-r--r--test/integration/targets/win_feature/tasks/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/targets/win_feature/tasks/main.yml b/test/integration/targets/win_feature/tasks/main.yml
index 806f30f95b..b8f3f55b7c 100644
--- a/test/integration/targets/win_feature/tasks/main.yml
+++ b/test/integration/targets/win_feature/tasks/main.yml
@@ -127,8 +127,7 @@
that:
- "win_feature_install_invalid_result is failed"
- "win_feature_install_invalid_result is not changed"
- - "win_feature_install_invalid_result.msg"
- - "win_feature_install_invalid_result.exitcode == 'InvalidArgs'"
+ - "'The name was not found' in win_feature_install_invalid_result.msg"
when: win_feature_has_servermanager is successful
- name: try to remove an invalid feature name
@@ -144,6 +143,5 @@
that:
- "win_feature_remove_invalid_result is failed"
- "win_feature_remove_invalid_result is not changed"
- - "win_feature_remove_invalid_result.msg"
- - "win_feature_remove_invalid_result.exitcode == 'InvalidArgs'"
+ - "'The name was not found' in win_feature_remove_invalid_result.msg"
when: win_feature_has_servermanager is successful