Skip to main content
Glama

install_role

Install Ansible roles on Ludus servers from Galaxy or repositories, with automatic retry logic for reliable deployment.

Instructions

Install an Ansible role on the Ludus server via MCP.

This MCP tool automatically handles:

  • Galaxy roles (installed directly from Ansible Galaxy, e.g., "badsectorlabs.ludus_adcs")

  • Directory-based roles (automatically cloned via SSH if configured, e.g., "ludus-ad-content")

  • Retry logic for transient failures

For directory-based roles: If SSH is configured (via configure_ssh_role_installation), the MCP server will automatically clone the repository on the Ludus server and install it. Otherwise, manual installation instructions will be provided.

Args: role_name: Name of the role to install (e.g., "badsectorlabs.ludus_adcs", "aleemladha.wazuh_server_install") role_url: Optional URL for Galaxy roles (usually not needed) max_retries: Maximum retry attempts (default: 3)

Returns: Installation result with status and details

Example: # Install a Galaxy role (works immediately) result = await install_role(role_name="badsectorlabs.ludus_adcs")

# Install a directory-based role (requires SSH config or manual setup) result = await install_role(role_name="ludus-ad-content") # Check installation status status = await check_role_installed(role_name="badsectorlabs.ludus_adcs")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_nameYes
role_urlNo
max_retriesNo

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tjnull/Ludus-FastMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server