adapter-ansible_manager

On this page:

runScript

Summary

Run a script in Ansible Manager

Description

This method will run a script in Ansible Manager

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 yes an array of hosts to run the script on
args object yes an object containing the arguments to pass into the module
template string no the textfsm string used by the module

Return

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