convert_resource_to_task
Convert Chef infrastructure resources into Ansible automation tasks for migration workflows. Specify resource type, name, action, and properties to generate equivalent YAML task definitions.
Instructions
Convert a Chef resource to an Ansible task.
Args: resource_type: The Chef resource type (e.g., 'package', 'service'). resource_name: The name of the resource. action: The Chef action (e.g., 'install', 'start', 'create'). Defaults to 'create'. properties: Additional resource properties as a string representation.
Returns: YAML representation of the equivalent Ansible task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | ||
| resource_name | Yes | ||
| action | No | create | |
| properties | No |