Ansible Playbooks · Schema

PlaybookJob

An Ansible playbook job representing a single execution of a job template, including status, output, and configuration details.

AnsibleAutomationConfiguration ManagementDevOpsInfrastructure as CodeOrchestrationPlaybooks

Properties

Name Type Description
id integer Unique numeric identifier for the job.
name string Name of the job template that spawned this job.
status string Current job status.
playbook string Playbook file executed by this job.
started string Timestamp when the job started executing.
finished string Timestamp when the job finished.
elapsed number Job duration in seconds.
job_type string Type of Ansible job.
launch_type string How the job was launched.
verbosity integer Ansible verbosity level (0-5).
limit string Host pattern limit applied to this job run.
extra_vars string Extra variables passed to the playbook as a JSON string.
inventory integer ID of the inventory used by this job.
project integer ID of the project containing the playbook.
result_traceback string Error traceback if the job failed.
created string Timestamp when the job record was created.
modified string Timestamp when the job record was last modified.
View JSON Schema on GitHub

JSON Schema

ansible-playbooks-playbook-job-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ansible-playbooks/refs/heads/main/json-schema/ansible-playbooks-playbook-job-schema.json",
  "title": "PlaybookJob",
  "description": "An Ansible playbook job representing a single execution of a job template, including status, output, and configuration details.",
  "type": "object",
  "properties": {
    "id": {"type": "integer", "description": "Unique numeric identifier for the job.", "example": 500123},
    "name": {"type": "string", "description": "Name of the job template that spawned this job.", "example": "Deploy Web Application"},
    "status": {"type": "string", "enum": ["new", "pending", "waiting", "running", "successful", "failed", "error", "canceled"], "description": "Current job status.", "example": "successful"},
    "playbook": {"type": "string", "description": "Playbook file executed by this job.", "example": "site.yml"},
    "started": {"type": "string", "format": "date-time", "description": "Timestamp when the job started executing.", "example": "2026-04-19T14:00:00Z"},
    "finished": {"type": "string", "format": "date-time", "description": "Timestamp when the job finished.", "example": "2026-04-19T14:05:00Z"},
    "elapsed": {"type": "number", "description": "Job duration in seconds.", "example": 300.5},
    "job_type": {"type": "string", "enum": ["run", "check", "scan"], "description": "Type of Ansible job.", "example": "run"},
    "launch_type": {"type": "string", "enum": ["manual", "relaunch", "callback", "scheduled", "dependency", "workflow", "sync", "scm"], "description": "How the job was launched.", "example": "manual"},
    "verbosity": {"type": "integer", "minimum": 0, "maximum": 5, "description": "Ansible verbosity level (0-5).", "example": 0},
    "limit": {"type": "string", "description": "Host pattern limit applied to this job run.", "example": "web-servers"},
    "extra_vars": {"type": "string", "description": "Extra variables passed to the playbook as a JSON string.", "example": "{\"env\": \"production\"}"},
    "inventory": {"type": "integer", "description": "ID of the inventory used by this job.", "example": 42},
    "project": {"type": "integer", "description": "ID of the project containing the playbook.", "example": 7},
    "result_traceback": {"type": "string", "description": "Error traceback if the job failed.", "example": ""},
    "created": {"type": "string", "format": "date-time", "description": "Timestamp when the job record was created.", "example": "2026-04-19T13:59:00Z"},
    "modified": {"type": "string", "format": "date-time", "description": "Timestamp when the job record was last modified.", "example": "2026-04-19T14:05:00Z"}
  },
  "required": ["id", "name", "status", "playbook", "job_type"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ansible-playbooks-playbook-job"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.