Skip to main content
Glama

install_role_from_url

Install Ansible roles from custom Git repositories not available on Ansible Galaxy. Clone and set up roles directly from repository URLs for cyber range management.

Instructions

Install an Ansible role from a custom Git repository URL.

Use this to install roles from custom Git repositories that are not on Ansible Galaxy. The repository will be cloned on the Ludus server and installed.

Args: role_name: Name to give the role when installed git_url: Git repository URL (e.g., "https://github.com/user/my-role") branch: Optional branch/tag to checkout (default: main/master)

Returns: Installation result with status and instructions

Examples: # Install a custom role from GitHub result = await install_role_from_url( role_name="my-custom-role", git_url="https://github.com/myorg/ludus-custom-role" )

# Install from a specific branch result = await install_role_from_url( role_name="my-role-dev", git_url="https://github.com/myorg/ludus-custom-role", branch="develop" )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_nameYes
git_urlYes
branchNo

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