adapter-ansible_manager

On this page:

runRole

Summary

Run a role in Ansible Manager

Description

This method will run a role in Ansible Manager

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
roleName string yes the name of the role to run
hosts array yes an array of hosts to run the role on
args object yes an object containing the arguments to pass into the role
template string no the textfsm string used by the role

Return

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