Patch Templates
Creates a new patch patch template
Changed onDefines a new template by specifying the type of the patch "agentless" or "agentbased" and a source of the ansible playbook.
post/patchTemplates
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"name": "ggv2 installer template",
"patchType": "agentbased",
"playbookFileContent": "LS0tCi0gaG9zdHM6IGFsbAogIHJlbW90ZV91c2VyOiBlYzJfdXNlcgogIGdhdGhlcl9mYWN0czogZmFsc2UKICBiZWNvbWU6IHllcwogIHRhc2tzOgogICAgLSBwaW5nOgo=",
"extraVars[key1]": "val1",
"extraVars[key2]": "val2"
}Response
Created
Changes
- breaking
removed the media type
multipart/form-datafrom the request body - info
added the media type
application/vnd.aws-cdf-v1.0+jsonto the request body
- breaking
- info
endpoint added
- info