/infranetic

Reproducible infrastructure that can be deployed locally or globally.

Primary LanguageJinjaISC LicenseISC

Infranetic is a brutalized portmanteau derived from the idea of "non-frenetic infrastructure" that aims to simplify provider-agnostic deployments that can be reproduced locally and deployed globally. This idea was inspired in part by the following:

Using

Prepare

# Setup and activate virtualenv
virtualenv .venv
source .venv/bin/activate

# Install Python dependencies
pip install -r requirements.txt

# Install Ansible dependencies
ansible-galaxy install -r requirements.yml

# Setup localhost to run Vagrant
ansible-playbook --ask-become-pass setup-vagrant.yml
newgrp libvirt

Verify

pip install -r requirements/tox.txt
tox

Deploy

# multi-node (Default)
vagrant up
ansible-playbook -i sample.inventory.yml site.yml

# single-node
vagrant up mgmt1
ansible-playbook -i sample.inventory.yml -l mgmt1.infranetic site.yml