Prerequisites
- A self-hosted AWX or Ansible Automation Platform (Controller/Tower) instance reachable from CloudThinker over HTTPS.
- An AWX user with access to the organizations and inventories CloudThinker should reach.
Setup
Sign in to AWX
Sign in to your AWX web interface. Use a dedicated user scoped to only the organizations and inventories CloudThinker needs.
Create an access token
Go to Access → Users, open your user, select the Tokens tab, and click Add:
- Application: leave empty
- Scope: Write for full operations, or Read for monitoring only
Connection details
| Field | Description | Example |
|---|---|---|
| TOWER_HOST | Base URL of your AWX instance | https://awx.your-domain.com |
| TOWER_OAUTH_TOKEN | AWX user access token | — |
Required permissions
What agents can do depends on the token scope.- Read — list jobs, inspect inventories, check project status, review schedules, and view configuration.
- Write — all read operations plus launching jobs, running ad-hoc commands, controlling running jobs, syncing projects, and managing hosts, groups, and schedules.
Agent capabilities
What agents can do depends on the token’s scope. Read — monitoring & inspection:| Capability | Description |
|---|---|
| Monitor jobs | List jobs and workflow runs, check status, and read output |
| Inspect inventories | View inventories, hosts, and groups; spot unreachable or disabled hosts |
| Check project status | Review sync status and source-control state |
| Review schedules | List schedules and upcoming runs |
| Inspect configuration | View job templates, workflow templates, inventory sources, and credential types |
| Capability | Description |
|---|---|
| Launch jobs | Run job templates with extra variables and monitor to completion |
| Run ad-hoc commands | Execute one-off commands against hosts without a template |
| Control running jobs | Cancel in-flight jobs and relaunch failed ones |
| Sync projects & inventory | Pull project updates from source control and refresh dynamic inventory |
| Manage hosts, groups & schedules | Add, update, or remove them and toggle host enablement |
| Orchestrate workflows | Launch workflow job templates and approve or deny approval nodes |
Verify the connection
Example prompts
Troubleshooting
Connection or authentication failed
Connection or authentication failed
Verify the AWX URL is reachable from CloudThinker over HTTPS. Confirm the token has not expired or been revoked — create a new token if needed and reconnect.
Permission denied
Permission denied
The token’s scope does not allow the requested action. Use a Write-scoped token for launch, sync, or management operations, and confirm the user has access to the target organization or inventory.
Empty results
Empty results
The token’s user lacks visibility into the requested resources. Grant access to the relevant organizations and inventories in AWX, then retry.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Write scope only when needed — use a Read-scoped token for monitoring; only enable Write scope when agents need to launch or modify resources.
- HTTPS only — always use an HTTPS AWX URL; plaintext connections expose the access token.
Related
ArgoCD Connection
GitOps operations and application management
Jenkins Connection
CI/CD pipeline monitoring and job operations