osp.playbook

Playbook Template Container

type

array

items

oneOf

FileRender

ItemsRender

FileRender

type

object

properties

  • type

type

string

enum

FileRender

default

FileRender

  • generation

The rules for generates files from nunjunks

type

array

items

GenerateTemplate

  • import

A array of listing in CSV format to import as variable for the .nunjunks generation process

type

object

additionalProperties

type

string

additionalProperties

False

GenerateTemplate

type

object

properties

  • source

The source of the file to generate must end with .nunjunks

type

string

  • destination

The destination of file to generate use ItemId like root.test

type

string

additionalProperties

False

ItemsRender

type

object

properties

  • type

type

string

enum

ItemsRender

default

ItemsRender

  • source

The source of the file to generate must end with .csv

type

string

  • fileRenderContext

The other inventory to inject as variable for rendering Nunjunks file. This can be used to add information from an other inventory inside a .nunjunks

type

object

additionalProperties

type

string

additionalProperties

False