A set of playbook to build an opneio cluster.
This demo supports Openstack and Centos 7 for the moment
- Epel repository :
yum install --enablerepo=extras epel-release
- Devel packages :
yum install --enablerepo=epel gcc python-setuptools python-pip python-devel openssl-devel
- A pip up-to-date:
pip install --upgrade pip
Please refer to the requirements.txt file for the python environment
pip install -r requirements.txt
- Some ansible roles:
./install_roles_dependencies.sh
Look the inventory file
Variable | Comments (type) |
---|---|
os_image |
The Openstack image to use |
flavor |
The Openstack flavor to use |
netid |
The Openstack network ID to use |
upgrade_system |
Need an operating system up-to-date |
These variables can be defined in the inventory but also in a file in the host_vars folder
For the use of openstack, you must fill the file openstackrc with your identifiers and the endpoint keystone
. openstackrc
To remove all VM in openstack
. openstackrc
ansible-playbook mrproper.yml
ansible-playbook site.yml
Issues, feature requests, ideas are appreciated and can be posted in the Issues section.
Pull requests are also very welcome. The best way to submit a PR is by first creating a fork of this Github project, then creating a topic branch for the suggested change and pushing that branch to your own fork. Github can then easily create a PR based on that branch.
BSD
- Cédric DELGEHIER (maintainer)