diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-02-22 11:33:48 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 11:33:48 +1000 |
commit | ef4f8851dc46429622465d9fc24912abc1303271 (patch) | |
tree | 4b048004f70274f66ec3b2961ae13c7a4df9b27b /test/integration/targets/win_feature | |
parent | 3abaa43b1c3d4b3d0a573ee2d2a14288947f4368 (diff) | |
download | ansible-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.yml | 6 |
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 |