You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
satoshi-tokyo
changed the title
[BUG]: file presence not handled in import scp module and reports success when fails
[BUG]: file presence not handled in import scp module and reports success when it should report a failure
Aug 30, 2023
Bug Description
Using idrac_server_config_profile to import scp, in case of scp.json file is not found or named incorrectly, playbook reports with success completion.
Component or Module Name
idrac_server_config_profile
Ansible Version
ansible [core 2.14.1]
Python Version
3.10.2
iDRAC/OME/OME-M version
iDRAC 6.10.30.00
Operating System
N/A
Playbook Used
Logs
Output when scp.json is found and expected to complete as asuccess:
Output when scp.json is NOT found and expected to complete as failure:
Steps to Reproduce
Run a playbook with a wrong scp file name specified to import
Expected Behavior
Playbook to report "ok=0 failed=1" with failure message.
Actual Behavior
Playbook reports "ok=1 failed=0" with "msg": "Successfully imported the Server Configuration Profile."
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: