rmkraus / ansible-ovirt

Automate oVirt with Ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible - oVirt

This library contains ansible scripts for automating oVirt/RHV tasks. These playbooks assume that the oVirt API credentials are stored in environment variables.

export OVIRT_URL="https://ovirt.example.com/ovirt-engine/api"
export OVIRT_USERNAME="user@login_domain"
export OVIRT_PASSWORD="password"

The ovirt4.py dynamic inventory file is included for convenience but is not guaranteed to be cannon. It can be used with playbooks like so:

export OVIRT_URL="https://ovirt.example.com/ovirt-engine/api"
export OVIRT_USERNAME="user@login_domain"
export OVIRT_PASSWORD="password"

ansible-playbook -i ovirt4.py -l test-0 remove_ovirt_vm.yml

About

Automate oVirt with Ansible

License:Apache License 2.0


Languages

Language:Python 98.8%Language:Shell 1.2%