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.
On Tue, Feb 22, 2022 at 6:11 PM Roberto Paz <[email protected]> wrote: > 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. > > El martes, 22 de febrero de 2022 a la(s) 09:24:26 UTC-3, Abhijeet Kasurde > escribió: > >> Hi Akshay, >> >> Please go through this video https://www.youtube.com/watch?v=T8CtycTluos >> >> Thanks, >> Abhijeet >> >> On Tue, Feb 22, 2022 at 4:52 PM Akshay Jadhav <[email protected]> wrote: >> >>> 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. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/8701cf38-6784-4554-b918-3cf3f649a44an%40googlegroups.com >>> <https://groups.google.com/d/msgid/ansible-project/8701cf38-6784-4554-b918-3cf3f649a44an%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Thanks, >> Abhijeet Kasurde >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/709a7bf3-9ec3-4e03-b141-a6f47da5449dn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/709a7bf3-9ec3-4e03-b141-a6f47da5449dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks, Abhijeet Kasurde -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFwWkHrpz059GOy5XYCFmanLQhi-jgEcjUJoWfHpqOS%2BASShCQ%40mail.gmail.com.
