Sample Exchange

 View Only

Running VMware Orchestrator workflows from an Ansible playbook 

Mar 18, 2018 09:39 PM

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"
http://docs.ansible.com/ansible/latest/uri_module.html


#ansible
#Apache2.0
#vRealizeOrchestrator
#vROWorkflow
#vRealizeOrchestratorPlug-inSDK
#Playbook
#workflow

Statistics
0 Favorited
3 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
Running-VMware-Orchestrator-workflows-from-an-Ansible-pla....zip   1 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.