Ansible Automation Platform (AWX)

Launch job templates and workflows on AWX / Red Hat Ansible Automation Platform automation controller, follow the jobs, read their output and cancel them.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Submit a script →

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
base_urlstringYesAddress of the AWX server or the Ansible Automation Platform gateway, without the API path. No trailing slash.
api_pathstringNoAPI root of the automation controller. Use /api/v2 for AWX and AAP 2.4 or earlier, and /api/controller/v2 when you connect through the AAP 2.5+ platform gateway.
tokenstringNoOAuth2 personal access token, sent as Authorization: Bearer. On AWX/AAP 2.4: Users > Tokens (or POST /api/v2/tokens/). On AAP 2.5+: Access Management > Users > Tokens on the platform gateway (or POST /api/gateway/v1/tokens/). Use the write scope to launch and cancel jobs. Leave empty to use username and password.
usernamestringNoUsername for Basic authentication. Used only when token is empty.
passwordstringNoPassword for Basic authentication. Used only when token is empty.