- Clone this repository. In your home directory
git clone https://github.com/phy1729/cv_config.git
- Install ansible
- In your home directory
git clone git://github.com/ansible/ansible.git
- If you don't have pip,
sudo easy_install pip
- Install ansible dependencies:
sudo pip install paramiko PyYAML jinja2 httplib2
- In your home directory
- Install vagrant
- Download from http://www.vagrantup.com/downloads.html
- Install
- In the cv_config directory run
make secrets
- Add ansible to your PATH:
. ~/ansible/hacking/env-setup
- Spin up the virtual machines:
vagrant up
- Vagrant is setting up 6 virtual machines. This step may take some time.
- SSH into any virtual machine with
vagrant ssh <machine>
where<machine>
is any of- vm-h
- vm-he
- vm-c
- vm-n
- vm-o
- vm-f
- When done with the virtual network, run
vagrant halt
,vagrant suspend
, orvagrant destroy
to pause, shutdown, or delete the virtual machines.
- Ansible: http://docs.ansible.com/
- Vagrant: http://docs.vagrantup.com/v2/