check_role_installed
Verify if an Ansible role is installed in a Ludus cyber range environment, enabling role management for security testing and research.
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")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_name | Yes |