Code Monkey home page Code Monkey logo

ovirt-ansible's Introduction

Build Status

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

Example

Minimal playbook example

---
- hosts: engine
  roles:
    - role: ovirt-common
    - role: ovirt-engine-install-packages
    - role: ovirt-engine-setup

- hosts: hypervisors
  roles:
    - role: ovirt-common

Minimal inventory example

[all:vars]
ovirt_engine_type=ovirt-engine
ovirt_engine_version=4.1
# Make sure that link to release rpm is working!!!
ovirt_rpm_repo=http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
ovirt_engine_organization=of.ovirt.engine.com
ovirt_engine_admin_password=secret

[engine]
fqdn.of.ovirt.engine.com

[hypervisors]
fqdn.of.ovirt.hypervisor1.com
fqdn.of.ovirt.hypervisor2.com

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-master.yml
  • tests/test-upgrade-4.0-to-4.1.yml (Disabled because of #155)
  • tests/test-upgrade-4.1-to-master.yml
# 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-master.yml -i tests/inventory

ovirt-ansible's People

Contributors

kkoukiou avatar leistnerova avatar lukas-bednar avatar mkalfon avatar mordechai avatar myakove avatar nellyc avatar petr-balogh avatar pkubica avatar stluke avatar tareqalayan avatar tasdikrahman avatar vkondula avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.