adapter-automation_gateway

On this page:

runScriptEnv

Summary

Run a script with optional env variables in Automation Gateway

Description

This method will run a script with optional env variables in Automation Gateway

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
scriptName string yes the name of the script to run
hosts array no an array of hosts to run the script on
args object yes an object containing the arguments to pass into the script
template string no the textfsm string used by the module
env object no an object containing the environment variables to pass into the script

Return

DetailsExampleSchema
Name Type Description
result object the status of running the script on each host