v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Automation

Execute Script

Execute scripts. Ansible script supports executing single script in multiple machines. Chef/Puppet/Shell executing multiple scripts against multiple target machines.

post/operation/automation/scripts/{tenant_id}/execute

Path parameters

tenant_idstring required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Request body

job_namestring required

Name of the script job

Example request

{
  "job_details": [
    {
      "platform": "linux",
      "parameters": {
        "ansible_lamp": {
          "mysql_port": "3307"
        }
      },
      "parameter_source": "script"
    }
  ]
}

Response

Execution Initiated

script_job_idstring

Unique ID of the Script Job. Use this ID in describeScriptJob API and check the execution status