create-playbook
Create an Ansible playbook from a YAML string or object, optionally saving to a specified file path or generating a temporary file.
Instructions
Create an Ansible playbook from YAML string or object.
Args: playbook: YAML string or Python object representing the playbook. output_path: Optional path to write the playbook file. If not provided, a temp file is created. Returns: A dict with keys: path, bytes_written, preview
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playbook | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||