No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
group_vars/all
host_vars/simple.example.com
roles/gentooinstallbattle._common
.gitignore
README.md
ansible.cfg
requirements.txt
site.gentooinstallbattle.yml

README.md

Ansible GentooInstallBattle

How To Use

How To install

$ brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
$ sudo easy_install pip
$ sudo pip install virtualenv
$ export PIP_RESPECT_VIRTUALENV=true
$ export PATH="${HOME}/.local/bin:${PATH}"
$ export PYTHONPATH="${HOME}/.local/lib64/python2.7/site-packages:${PYTHONPATH}"
$ git clone https://github.com/mazgi/ansible-gentooinstallbattle.git
# cd ansible-gentooinstallbattle
$ virtualenv --no-site-packages --distribute --python=$(which python2.7) .
$ source bin/activate
(envdir)$ pip install -r requirements.txt

How To Play

Boot up your machine

First, boot up your machine from SystemRescueCd.
And you should set up at least one network for SSH connection.

Run ansible-playbook from your Control Machine

$ export PIP_RESPECT_VIRTUALENV=true
$ export PATH="${HOME}/.local/bin:${PATH}"
$ export PYTHONPATH="${HOME}/.local/lib64/python2.7/site-packages:${PYTHONPATH}"
$ source bin/activate
(envdir)$ ansible-playbook -i 10.11.12.13, site.gentooinstallbattle.yml