Files
ovirt-api-simulator/docs/examples/ansible.md
T
inecs 9c94df119b Document the test matrix and record the 2026-07-18 Pulumi 9150/9150 run.
Add EN/RU testing guides, link them from README and docs indexes, and drop
stale native Python/Ansible/Terraform suite references.
2026-07-18 09:39:03 +03:00

30 lines
762 B
Markdown

**Language / Язык:** [English](ansible.md) | [Русский](../ru/examples/ansible.md)
# Ansible
Use `ansible.builtin.uri` against Engine HTTPS:
```yaml
- name: List oVirt VMs
hosts: local
gather_facts: false
vars:
engine_api: "https://127.0.0.1/ovirt-engine/api"
tasks:
- name: GET /vms
ansible.builtin.uri:
url: "{{ engine_api }}/vms"
user: admin@internal
password: secret
force_basic_auth: true
validate_certs: false
headers:
Accept: application/json
Version: "4"
status_code: [200]
register: vms
```
Contract coverage for the Engine API: `make pulumi-tests` — see
[Testing](../testing.md) and [`pulumi-tests/`](../../pulumi-tests/README.md).