servicenow incident update and close using ansible

Hi Guys,
Does anyone has any sample playbook for snow incident update and close(end to end automation for device reboot incident).As I am new to API part can someone please suggest how to fetch new incident from snow dashboard for “Node reboot alert” as a short description for incident. Thanks in advance.

Hi Akshay,

Please go through this video https://www.youtube.com/watch?v=T8CtycTluos

Thanks,
Abhijeet

My two cents: I saw approaches about this in the past. Most of them used SNOW API. You just have to build a proper JSON payload to interact with SNOW.

Hi Roberto,

Using REST API with payload is ok, but does not provide idempotency and other Ansible features (check mode, diff etc.). I would still recommend to rely on servicenow.itsm collection.