Skip to main content
Glama

check_role_installed

Verify if an Ansible role is installed on a Ludus cyber range environment using CLI or HTTP API without SSH access.

Instructions

Check if a specific Ansible role is installed.

Uses the ludus CLI with --url when available for reliable remote access. Falls back to HTTP API if CLI is not available. No SSH required.

Args: role_name: Name of the role to check (e.g., "ludus-ad-content", "badsectorlabs.ludus_adcs")

Returns: Dictionary indicating if the role is installed

Example: # Check if a role is installed result = await check_role_installed(role_name="ludus-ad-content")

# If not installed, use install_role() to install it if not result.get("installed"): await install_role(role_name="ludus-ad-content")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_nameYes

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