f8d3cbdd59
Add the FastAPI app, PostgreSQL migrations, Docker/Helm packaging, API contracts, docs, client examples, and the unit/integration/compatibility test suite for local client and tooling labs without a real vCenter.
893 B
893 B
Language / Язык: English | Русский
Ansible
The playbook uses the uri module against the HTTPS gateway
(https://localhost), with Basic-auth session login followed by
vmware-api-session-id-header calls for the rest of the lifecycle.
cd examples/ansible
ansible-playbook -i inventory.ini vsphere_playbook.yml
vsphere_playbook.yml covers:
session login, list VMs, create, power on, poll the CIS task
(/api/cis/tasks/{task}), write a file to the lab guest virtual filesystem,
power off, delete, and session logout.
Reseed the simulator (make seed) before relying on fixed VM names/MOIDs
from a previous run.
For the official pulumi-vsphere lab suite (nonempty exports, HTML report),
see pulumi-tests/ or make pulumi-tests.