Running VMware Orchestrator workflows from an Ansible playbook

Below is a sample of how to send REST API calls to VMware Orchestrator using the Ansible uri_module in a playbook. In this example, vRO input values are provided using an input file "input.json" rather than embedding the JSON in the playbook itself which is also acceptable. The zip file includes the playbook and input file that can be used as a template.

Playbook: "vro-playbook-revertSnap.yaml"

Input File: "input.json"

Running the Ansible playbook:

vCenter task showing that the workflow has executed successfully against our VM.

From Ansible: "Docs » uri - Interacts with webservices"

Sign in to be able to add comments.

Comments 0