I am currently developing ansible for adding rule into checkpoint security management server. According to my company policy, the rule needs to be verified first and it will be implemented later at the scheduled time. However, when "verify-policy" command, following is the response i got.
management server : R80.20
api_version: 1.3
(with -vvvv optiong)
fatal: [test1]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_version": null,
"command": "verify-policy",
"context": null,
"fingerprint": null,
"parameters": "{'policy-package': 'standard'}",
"session-data": "{'failed': False, 'changed': False, 'response': {'domain': None, 'url': '192.168.56.80:443', 'sid': 'KDnWv33ZQl6z-5ZAlb0kwjZLzZpqD2e3YL-D23sL4jk', 'context': 'web_api', 'fingerprint': '83F58C9B4FE00C1B12456A11AEA756E6A575B205', 'api_version': '1.3'}}"
}
},
"msg": "Command 'verify-policy {u'policy-package': u'standard'}' failed. All changes are discarded and the session is invalidated."
}
Is there anyway to increase the detail of the error response in msg part ?