Patch Templates

Updates a patch patch template

Changed on

Defines a new template by specifying the type of the patch "agentless" or "agentbased" and a source of the ansible playbook.

patch/patchTemplates/{templateName}

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body multipart/form-data

playbookFilestring binary

Path to the playbook file

patchType'agentless' | 'agentbased'

type

enabledboolean

Whether the template is enabled for use.

descriptionstring

Description regarding the template

extraVars[key]string

Extra Variables that need to be passed down to the ansible exeucution as input external paramters

Example request

{
  "name": "ggv2 installer template",
  "extraVars[key1]": "var1"
}

Response

Created

Changes