Stupid repo name but I couldn't think of anything to call it. Just a bunch of playbooks and stuff for interacting with ServiceNow from Ansible.
The most useful file is servicenow.yml which can be used as an Inventory source for Ansible.
Needs the ServiceNow collection from Ansible Galaxy installed.
$ ansible-galaxy collection install -r collections/requirements.yml
Needs to have ServiceNow instance details to establish the connection. Uses ENV variables, so stick SN_HOST, SN_USER and SN_PASSWORD with the appropriate info.
SN_HOST should be the full instance URL, NOT just the ServiceNow instance name. ie.
export SN_HOST=https://whatever.service-now.com/