Skip to main content
Glama

convert_inspec_to_test

Convert InSpec controls to Ansible test format for infrastructure compliance testing during Chef-to-Ansible migration.

Instructions

Convert InSpec controls to Ansible test format.

Args: inspec_path: Path to InSpec profile or control file. output_format: Output format ('testinfra' or 'ansible_assert').

Returns: Converted test code or error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inspec_pathYes
output_formatNotestinfra

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/kpeacocke/souschef'

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