junipernetworks.junos.junos_command should consider the task successful if launched command succeed to execute even though the output includes error keyword. #481
Labels
needs_info
This issue requires further information. Please answer any outstanding questions.
SUMMARY
junipernetworks.junos.junos_command
module regards the task status as "failed" whenrequest support information
command output includes specific keywords likesyntax error
.ISSUE TYPE
COMPONENT NAME
junipernetworks.junos.junos_command
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
Junos
. As you can see in the execution logs below, theshow services advanced-anti-malware
command is launched by therequest support information
command in Junos, but it fails due to a syntax error. While this is likely a bug in Junos, therequest support information
command itself succeeds, so I believe the Ansible task should be considered successful.EXPECTED RESULTS
request support information
command itself is successful.ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: