diff options
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 |