-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.yaml
32 lines (32 loc) · 1.32 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Jinja template plugin
rundeckPluginVersion: 1.2
author: Chris Gadd
date: 2021-03-03
version: 0.2
url: https://github.com/gaddman/rundeck-jinja-template
providers:
- name: JinjaTemplate
service: WorkflowNodeStep
title: Template
description: Render a Jinja template using Rundeck variables.
plugin-type: script
script-file: jinja-render.py
config:
- name: template
title: Jinja template file
description: Path of the jinja template file to process. Use a trailing slash to process an entire folder. Wildcards allowed.
type: String
required: true
- name: output
title: Destination file
description: Path of the processed output file. If processing multiple files an existing folder name should be provided.
type: String
required: true
- name: data
title: Additional data
description: >
The 'job', 'node', and 'option' contexts will be rendered automatically. To render other contexts or arbitrary data,
provide it here as a JSON dictionary of key/value pairs. Strings should be double-quoted.
These will be included in a 'data' context, so template variables should have the form '{{ data.key }}'.
type: String
required: false