Ansible Roles · Schema

Role

An Ansible role published on Galaxy, containing tasks, handlers, defaults, templates, and metadata for reuse across playbooks.

AnsibleAutomationCollectionConfiguration ManagementDevOpsInfrastructure as CodeRoles

Properties

Name Type Description
id integer Unique numeric identifier for the role.
name string Name of the role.
namespace string Galaxy namespace (usually GitHub username) of the role author.
description string Short description of what the role does.
github_user string GitHub username of the role author.
github_repo string GitHub repository name for this role.
github_branch string Default branch for this role's repository.
download_count integer Total number of times this role has been downloaded.
stargazers_count integer Number of GitHub stars for this role.
forks_count integer Number of GitHub forks for this role.
open_issues_count integer Number of open GitHub issues for this role.
min_ansible_version string Minimum Ansible version required by this role.
license string Software license for this role.
created string When this role was first published to Galaxy.
modified string When this role was last updated.
View JSON Schema on GitHub

JSON Schema

ansible-roles-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ansible-roles/refs/heads/main/json-schema/ansible-roles-role-schema.json",
  "title": "Role",
  "description": "An Ansible role published on Galaxy, containing tasks, handlers, defaults, templates, and metadata for reuse across playbooks.",
  "type": "object",
  "properties": {
    "id": {"type": "integer", "description": "Unique numeric identifier for the role.", "example": 500123},
    "name": {"type": "string", "description": "Name of the role.", "example": "nginx"},
    "namespace": {"type": "string", "description": "Galaxy namespace (usually GitHub username) of the role author.", "example": "geerlingguy"},
    "description": {"type": "string", "description": "Short description of what the role does.", "example": "Installs and configures Nginx web server."},
    "github_user": {"type": "string", "description": "GitHub username of the role author.", "example": "geerlingguy"},
    "github_repo": {"type": "string", "description": "GitHub repository name for this role.", "example": "ansible-role-nginx"},
    "github_branch": {"type": "string", "description": "Default branch for this role's repository.", "example": "master"},
    "download_count": {"type": "integer", "description": "Total number of times this role has been downloaded.", "example": 1250000},
    "stargazers_count": {"type": "integer", "description": "Number of GitHub stars for this role.", "example": 1800},
    "forks_count": {"type": "integer", "description": "Number of GitHub forks for this role.", "example": 750},
    "open_issues_count": {"type": "integer", "description": "Number of open GitHub issues for this role.", "example": 12},
    "min_ansible_version": {"type": "string", "description": "Minimum Ansible version required by this role.", "example": "2.8"},
    "license": {"type": "string", "description": "Software license for this role.", "example": "MIT"},
    "created": {"type": "string", "format": "date-time", "description": "When this role was first published to Galaxy.", "example": "2015-01-01T00:00:00Z"},
    "modified": {"type": "string", "format": "date-time", "description": "When this role was last updated.", "example": "2026-04-01T00:00:00Z"}
  },
  "required": ["id", "name", "namespace"]
}

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-roles-role"
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 email required.

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