This reference documents all available AWX CLI resources, their actions, and common arguments. The exact list of resources and actions may vary based on your AWX version and permissions.
Command Discovery
The AWX CLI is self-documenting. Resources and actions are discovered dynamically from the AWX API using HTTP OPTIONS requests.
List All Resources
Get Resource Details
Get Action Details
Standard Actions
Most resources support these standard CRUD actions:
list
List all resources of the specified type.
Common Options:
--all - Fetch all pages (default: first page only)
--order_by FIELD - Sort by field (prefix with - for descending)
-f, --conf.format - Output format (json, yaml, human, jq)
--filter - Field filter for output
Examples:
get
Retrieve a specific resource by ID or name.
Arguments:
id - Resource ID (integer) or unique name (string)
Examples:
create
Create a new resource.
Common Patterns:
- Required fields are shown in “required arguments” section
- Use
--help to see all available fields
- JSON/YAML fields accept
@filename for file input
Examples:
modify
Update an existing resource.
Examples:
delete
Delete a resource.
Examples:
Common Resources
users
Manage AWX users.
Actions: list, get, create, modify, delete, grant, revoke
Create Example:
Grant Role:
organizations
Manage organizations.
Actions: list, get, create, modify, delete, associate, disassociate
Create Example:
Associate Galaxy Credential:
projects
Manage projects (SCM repositories).
Actions: list, get, create, modify, delete, update, associate, disassociate
Create Example:
Update Project (SCM sync):
inventories
Manage inventories.
Actions: list, get, create, modify, delete
Create Example:
hosts
Manage inventory hosts.
Actions: list, get, create, modify, delete
Create Example:
groups
Manage inventory groups.
Actions: list, get, create, modify, delete
Create Example:
inventory_sources
Manage dynamic inventory sources.
Actions: list, get, create, modify, delete, update
Create Example:
Update Inventory:
credentials
Manage credentials.
Actions: list, get, create, modify, delete
Machine Credential Example:
Source Control Credential Example:
credential_types
Manage custom credential types.
Actions: list, get, create, modify, delete
Example:
job_templates
Manage job templates.
Actions: list, get, create, modify, delete, launch, associate, disassociate
Create Example:
Launch:
Associate Credential:
workflow_job_templates
Manage workflow job templates.
Actions: list, get, create, modify, delete, launch, associate, disassociate
Create Example:
Launch:
jobs
View and manage job executions.
Actions: list, get, delete, stdout, monitor
List Recent Jobs:
Get Job Output:
Monitor Running Job:
Cancel Job:
workflow_jobs
View and manage workflow job executions.
Actions: list, get, delete, monitor
Monitor Workflow:
ad_hoc_commands
Execute ad hoc commands.
Actions: list, get, create, stdout
Run Ad Hoc Command:
teams
Manage teams.
Actions: list, get, create, modify, delete, grant, revoke
Create Example:
Grant Role:
schedules
Manage scheduled jobs.
Actions: list, get, create, modify, delete
Create Example:
notification_templates
Manage notification templates.
Actions: list, get, create, modify, delete
Email Notification Example:
Slack Notification Example:
instances
View AWX instances (Tower/Controller nodes).
Actions: list, get
List Instances:
instance_groups
Manage instance groups.
Actions: list, get, create, modify, delete
Create Example:
execution_environments
Manage execution environments.
Actions: list, get, create, modify, delete
Create Example:
labels
Manage labels.
Actions: list, get, create, modify, delete
Create Example:
roles
View available roles.
Actions: list, get
List Roles:
applications
Manage OAuth2 applications.
Actions: list, get, create, modify, delete
Create Example:
Special Actions
launch
Available for: job_templates, workflow_job_templates
Launch a job or workflow.
Options:
--monitor - Stream job output
--wait - Wait for completion without output
--action-timeout SECONDS - Timeout for monitoring
--interval SECONDS - Polling interval (min 2.5s)
--extra_vars JSON - Runtime variables
--limit HOST_PATTERN - Limit to hosts
--job_tags TAGS - Run specific tags
--skip_tags TAGS - Skip specific tags
update
Available for: projects, inventory_sources
Trigger an SCM update or inventory sync.
Options:
--monitor - Show update progress
--wait - Wait for completion
monitor
Available for: jobs, workflow_jobs
Monitor a running or completed job.
stdout
Available for: jobs, ad_hoc_commands, project_updates, inventory_updates
Retrieve job output.
grant / revoke
Available for: users, teams
Grant or revoke role-based access.
Options:
--organization ID|NAME
--project ID|NAME
--inventory ID|NAME
--job_template ID|NAME
--workflow_job_template ID|NAME
--credential ID|NAME
--role ROLE_NAME (required)
Available Roles:
- admin
- execute
- read
- use
- update
- adhoc
- member
- auditor
associate / disassociate
Available for: job_templates, workflow_job_templates, organizations, projects, inventory_sources
Associate or disassociate related resources.
Examples:
Bulk Operations
bulk
Perform bulk operations.
Actions: host_create, host_delete, job_launch
Bulk Host Create:
Bulk Host Delete:
Bulk Job Launch:
Control Resources
These resources provide metadata and don’t follow standard CRUD patterns.
config
Display current CLI configuration.
ping
Test API connectivity.
View current user details.
metrics
View system metrics (if enabled).
mesh_visualizer
View mesh topology (AWX with mesh enabled).
settings
View and modify system settings.
List All Settings:
List Settings Category:
Modify Setting:
Import/Export Commands
export
Export resources.
Syntax:
Examples:
Exportable Resources:
- users
- organizations
- teams
- credentials
- credential_types
- notification_templates
- projects
- inventories
- inventory_sources
- job_templates
- workflow_job_templates
- schedules
- labels
import
Import resources.
Syntax:
Examples:
Tips for Working with Commands
Finding Field Names
Use --help to discover available fields:
Or use verbose mode to see API schema:
Using IDs vs Names
Most resources accept either ID or unique name:
When creating resources with foreign keys:
Handling Ambiguous Names
If multiple resources have the same name:
Job templates and workflow templates support extra variables:
Working with Variables
Inventories, groups, and hosts support variables:
Deprecated Resource Names
The CLI supports backward-compatible aliases for resources (for tower-cli compatibility):
Deprecated aliases are provided for compatibility only. Use the current resource names in new scripts and documentation.