@itentialopensource/command-template-pre-post-diff-generator
v0.0.6-2023.1.0
Published
Pre-built to compare the output between command template pre and post checks.
Downloads
3
Readme
Pre-Built Name
Table of Contents
Overview
This Pre-Built enables users to generate an report containing the difference between two Command Template outputs. The main workflow (commandTemplateDiff) consists of two Pre-Built transformations that filter the Command Template Results and create the diff, while a Jinja2 Template formats the filtered information.
Installation Prerequisites
Users must satisfy the following pre-requisites:
- Itential Automation Platform
^2022.1
Features
The main benefits and features of the Pre-Built are outlined below.
- Allows users to view the difference between Pre and Post Command Template checks
- Does not involve a manual task (can run without user intervention)
How to Install
To install the Pre-Built:
- Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the Pre-Built.
- The Pre-Built can be installed from within App-Admin_Essential. Simply search for the name of your desired Pre-Built and click the install button (as shown below).
How to Run
This Pre-Built can be used as a Child Job in any existing automation:
- Add a child job task and search for the workflow
commandTemplateDiff
- Provide the 2 input variables
post
andpre
(from the output of the runCommandTemplate task) and press save - The output variable
diff
contains the new-line separated difference between the two inputs
Additional Information
Please use your Itential Customer Success account if you need support when using this Pre-Built.