Skip to main content
Cloud endpoint

Validate Machine Configuration

POST/machine-configuration-validations/

Example request

application/json
{
  "playbookYaml": "- hosts: all\n  tasks:\n    - ansible.builtin.debug:\n        msg: ready\n"
}

Handler-checked behavior​

Send playbookYaml containing the Ansible playbook text. Valid input returns 200 OK with valid: true and a content hash; invalid input returns 422 with valid: false and errors. This validates structure only and does not run a playbook or provision a machine.

See the Cloud guide for related tasks and context.