Describe the bug
MPIO module does not properly deal with errors while running the command and provides wrong output. The module does not use fail_json anywhere in the code.
To Reproduce
Steps to reproduce the behavior:
Run the following task:
- name: Gather specific absent device mpio info
ibm.power_aix.mpio:
device: ansibleNegativeTest
Expected behavior
The task above should fail because the provided device does not exist, but that is not happening. Rather, some information gets printed.
Describe the bug MPIO module does not properly deal with errors while running the command and provides wrong output. The module does not use fail_json anywhere in the code.
To Reproduce Steps to reproduce the behavior: Run the following task:
Expected behavior The task above should fail because the provided device does not exist, but that is not happening. Rather, some information gets printed.