Integrations

Ansible / AWX

Connect Castrel to Ansible AWX or Ansible Automation Platform for querying and triggering automation jobs.

Overview

  • Connector name: ansible
  • Supported API version: AWX REST API v2
  • Supported server version: AWX 21.0+ / Ansible Automation Platform 2.0+
  • Official docs: AWX API Reference

Configuration

To use Ansible tools, create a Connector with the following fields:

FieldRequiredDescription
base_urlYesAWX/AAP server URL (e.g., https://awx.example.com)
auth_typeYesAuthentication type: basic (username/password) or bearer (Access Token)
usernameNoUsername (required when auth_type=basic)
passwordNoPassword (required when auth_type=basic)
access_tokenNoPersonal Access Token (required when auth_type=bearer)
verify_sslNoVerify SSL certificates (default: true)

Available Tools

This connector provides a comprehensive set of tools for automation job management.

  • Job queries: List and query job execution history, status, and console output
  • Template management: Retrieve Job Template and Workflow Template lists
  • Job triggering: Launch automation jobs via Job Templates with parameters
  • Inventory queries: Query host inventories and host group information
  • Credential management: List available credential types and configurations