I am facing the error like below from Ansible playbook from modules from "check_point.mgmt" collection.
TASK [Add VLAN interface to Management gateway object] **************************************************************************************************************
fatal: [10.25.58.51]: FAILED! => {"changed": false, "msg": "Checkpoint device returned error 400 with message {'code': 'generic_error', 'message': \"Action cannot be executed on object: gw-893628 due to: Object 'gw-893628' is locked by another session.\"} Unpublished changes were discarded"}
This error occurs when I have some unpublished changes from Check Point Smartconsole or command-line.
How can I force changes from Ansible when there are unpublished changes from others? Or what is the best practice to follow in this scenario?