Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhevm-qe-automation/ovirt-ansible

Ansible playbooks for ovirt management
https://github.com/rhevm-qe-automation/ovirt-ansible

ansible-roles ovirt-ansible ovirt-deployment ovirt-engine ovirt-guest-agent ovirt-management virtualization

Last synced: 2 months ago
JSON representation

Ansible playbooks for ovirt management

Awesome Lists containing this project

README

        

[![Build Status][travisimg]][travis]

# ovirt-ansible

Ansible roles for oVirt deployment.

Roles in this repository can configure nodes used as oVirt deployment members.

## Host groups

Each role has documentation, where you can find ``Target systems`` section.
This section specifies what kind of node you can apply relevant role.

### engine

This host group is meant for node where the oVirt Engine management is supposed
to be deployed.

### hypervisors

This host groups are meant for all nodes which are supposed to be used as
hypervisors of oVirt Engine.

Note that none of the roles in this repository adds these machines into
oVirt Engine.

### database

This host group is meant for node on which the database is supposed to be
deployed.

### dwh

This host group is meant for node on which the DWH is supposed to be deployed.

### guest

This host group is meant for virtual machines hosted by oVirt Engine.

## Implemented roles

* [ovirt-collect-logs]
* [ovirt-engine-backup]
* [ovirt-engine-cleanup]
* [ovirt-engine-config]
* [ovirt-engine-db-dump]
* [ovirt-engine-remote-db]
* [ovirt-guest-agent]
* [ovirt-iso-uploader-conf]
* [ovirt-engine-rename]
* [ovirt-engine-remote-dwh]

## Test

This project uses [provision_docker] an ansible role to run oVirt deployment
roles against to docker containers.

In order to run oVirt deployment against to docker containers, the docker
service has to be configured and running on your system.

Under ``tests`` directory, there are playbooks for different oVirt versions

* tests/test-3.6.yml (Disabled because of #155)
* tests/test-4.0.yml (Disabled because of #155)
* tests/test-4.1.yml
* tests/test-4.2.yml

```sh
# Install ansible and docker-py
pip install ansible docker-py
# Download depending ansible roles
ansible-galaxy install -r tests/requirements.yml -p tests/roles/
# Run oVirt deployment roles
ansible-playbook tests/test-4.2.yml -i tests/inventory
```

You can find the Dockerfile which was used to build the images which the tests are using
under ``Dockerfiles`` directory.

[travisimg]: https://travis-ci.org/rhevm-qe-automation/ovirt-ansible.svg?branch=master
[travis]: https://travis-ci.org/rhevm-qe-automation/ovirt-ansible
[ovirt-collect-logs]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-collect-logs/README.md
[ovirt-engine-backup]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-backup/README.md
[ovirt-engine-cleanup]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-cleanup/README.md
[ovirt-engine-config]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-config/README.md
[ovirt-engine-db-dump]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-db-dump/README.md
[ovirt-engine-remote-db]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-remote-db/README.md
[ovirt-engine-remote-dwh]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-remote-dwh/README.md
[ovirt-guest-agent]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-guest-agent/README.md
[provision_docker]: https://github.com/chrismeyersfsu/provision_docker/
[ovirt-iso-uploader-conf]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-iso-uploader-conf/README.md
[ovirt-engine-rename]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-rename/README.md
[ovirt-engine-remote-dwh]: https://github.com/rhevm-qe-automation/ovirt-ansible/blob/master/roles/ovirt-engine-remote-dwh/README.md