CheckPointSW / CheckPointAnsibleMgmtCollection

This Ansible collection provides control over a Check Point Management server using Check Point's web-services APIs.
https://galaxy.ansible.com/check_point/mgmt
Apache License 2.0
40 stars 30 forks source link

Fix api_command() failure handling #148

Closed duanetoler closed 2 months ago

duanetoler commented 2 months ago

Fix api_command() failure handling: for other-than-200 http code, if command is 'show-..', then return Ansible module.fail_json instead of discard_and_fail. All others still discard_and_fail.