mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07: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:
parent
3abaa43b1c
commit
ef4f8851dc
4 changed files with 86 additions and 151 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue