install_galaxy_role
Install Ansible roles from Galaxy to manage Ludus cyber range environments. Specify role names like 'namespace.role_name' with optional version control.
Instructions
Install an Ansible role directly from Ansible Galaxy.
This is the simplest way to install roles. Provide the Galaxy role name in the format 'namespace.role_name' and it will be installed on the Ludus server.
Args: role_name: Role name in Galaxy format (e.g., "geerlingguy.docker", "badsectorlabs.ludus_adcs") version: Optional version to install (e.g., "1.0.0")
Returns: Installation result with status
Examples: # Install a role from Ansible Galaxy result = await install_galaxy_role(role_name="geerlingguy.docker")
Common Galaxy roles for Ludus: - badsectorlabs.ludus_adcs: AD Certificate Services - badsectorlabs.ludus_mssql: SQL Server - badsectorlabs.ludus_commandovm: Commando VM setup - badsectorlabs.ludus_flarevm: Flare VM setup - badsectorlabs.ludus_remnux: REMnux setup - aleemladha.wazuh_server_install: Wazuh server - aleemladha.ludus_wazuh_agent: Wazuh agent - geerlingguy.docker: Docker installation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_name | Yes | ||
| version | No |