Get System Config
GET /api/system/config
Response:
{
"default_paths": {
"node_properties": "/tmp/vov-deployer/nodeITproperties.json",
"common_properties": "/tmp/vov-deployer/commonITproperties.json"
},
"vov_deployer_dir": "/tmp/vov-deployer"
}
Get Host IP
GET /api/system/hostip
Response:
{
"hostip": "192.168.1.5"
}
List Playbooks
GET /api/system/playbooks
Response:
{
"standard": [
"deploy-full-ecosystem-vms-kvm",
"redeploy-full-ecosystem-vms-kvm",
"deploy-full-ecosystem"
],
"advanced": [
"deploy-full-ecosystem-vms-kvm",
"deploy-configure-kvm",
"deploy-tpa",
"cleanup-kvm"
]
}
Get Available Hosts for Playbook
GET /api/system/playbooks/{playbook_name}/available-hosts?propertiesFile=/tmp/vov-deployer/nodeITproperties.json
Response:
{
"available": true,
"hosts": [
{
"name": "sprout-mgmt-1.example.com",
"nodeType": "hvstr",
"ip": "192.168.1.10"
}
]
}
Get Filtered Tags for Playbook
GET /api/system/playbooks/{playbook_name}/filtered-tags?common_properties_path=/tmp/vov-deployer/commonITproperties.json
Response:
{
"available": true,
"tags": ["deploy-tpa", "configure-tpa"],
"source": "playbooks.json"
}