mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user