Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Ansible Spoke

Integrate your ServiceNow instance with Ansible Tower. Automate Ansible Tower tasks when events occur in ServiceNow.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

IntegrationHub subscription

This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

Spoke version

Ansible spoke v2.3.0 is the latest version.

Supported version

This spoke was built for Ansible Tower v2, but may be compatible with later versions.

Spoke requirements

  • Ansible Tower
  • If you are using custom OAuth application:
    • Ansible Tower administrator credentials to create a custom application
    • Application information such as Client ID and Client Secret
  • If you are using basic authentication, credentials of the user with System Administrator role to log in to Ansible Tower.

Spoke actions

The Ansible spoke provides actions to automate Ansible Tower tasks when events occur in ServiceNow. Available actions include:

CategoryActionDescription
Adhoc Command ManagementLook up Status From Ad-Hoc Command by IDRetrieves the run status from the ad-hoc command.
Run An Ad-Hoc CommandRuns an ad-hoc command on the target devices.
Credential ManagementLook up Credential Details StreamRetrieves the list of credentials from the Ansible Tower environment.
Look up Credentials Details by IDRetrieves details of the required credential in the Ansible Tower environment.
Credential Type ManagementLook up Credential Type Details by IDRetrieves details of the required credential type in the Ansible Tower environment.
Look up Credential Type Details StreamRetrieves the list of credentials in the Ansible Tower environment.
Inventory ManagementLook up Hosts From Inventory by IDLists hosts from the inventory in Ansible Tower environment.
Look up Instance Groups From Inventory by IDLists instance groups from inventory.
Look up Inventory Details by IDRetrieves details of the required inventory from Ansible Tower.
Look up Inventory Details StreamRetrieves inventory details from Ansible Tower.
Inventory Script ManagementLook up Inventory Script Details StreamRetrieves the list of inventory scripts from Ansible Tower.
Look up Inventory Scripts Details by IDRetrieves details of the required inventory script from Ansible Tower.
Inventory Source ManagementLook up Inventory Source Details by IDRetrieves details of the required inventory source from Ansible Tower.
Look up Inventory Source Details StreamRetrieves inventory source details stream from Ansible Tower.
Job ManagementCancel JobCancels the required job in the Ansible Tower environment.
Look up Job Details by IDRetrieves details of the specific job in the Ansible Tower environment.
Look up Job Details StreamRetrieves the list of job details.
Look up Jobs StreamRetrieves the list of jobs.
Relaunch JobRelaunches job in the Ansible Tower environment.
Schedule JobSchedules a job.
Metadata RetrievalGet CredentialsRetrieves credentials in the Ansible Tower environment.
Get InventoriesRetrieves inventories in the Ansible Tower environment.
Get ProjectsRetrieves projects in the Ansible Tower environment.
Get Additional Input FieldsRetrieves list of fields that can be used as a dynamic template or dynamic object.
Get Entity DataRetrieves data from the required entity.
Organization ManagementLook up Organization Details by IDRetrieves details of the required organization from Ansible Tower.
Look up Organization StreamRetrieves details of organizations from Ansible Tower.
Project ManagementLook up Project Details by IDRetrieves details of the required project from Ansible Tower.
Look up Projects StreamRetrieves details of projects from Ansible Tower.
Record ManagementCreate RecordCreates a record in the Ansible Tower environment.
Delete RecordDeletes the required record in the Ansible Tower environment.
Update RecordUpdates details of the required record in the Ansible Tower environment.
Role ManagementLook up Role Details by IDRetrieves details of the required role in Ansible Tower environment.
Look up Roles StreamRetrieves details of the roles in the Ansible Tower environment.
Look up Teams by Role StreamRetrieves details of the teams associated with the required role.
Look up Users by Role StreamRetrieves details of the users with the required role.
Team ManagementLook up Team Details by IDRetrieves details of the required team.
Look up Teams StreamRetrieves details of the teams in the Ansible Tower environment.
Template ManagementCreate Job TemplateCreates a job template.
Launch Job TemplateLaunches a job template.
Look up Job Templates StreamRetrieves the list of job templates.
User ManagementAssociate User to OrganizationAssociates or disassociates the required user to an organization.
Associate User to TeamAssociates or disassociates the required user to a team.
Create UserCreates a user in the Ansible Tower environment.
Delete UserDeletes user in the Ansible Tower environment.
Look up User Details by IDRetrieves details of the required user from Ansible Tower.

Connection and credential alias requirements

Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.

For information about setting up the spoke, see Set up the Ansible spoke.