Skip to content

quaspas/vagrant-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Make a virtual environment using virtualenv and virtualenvwrapper:

mkvirtualenv ansible

Install ansible:

pip install ansible 

Start vagrant box:

vagrant up

Add the a repo in vars/app.yml.

Add you ssh keys to the vm:

ansible-playbook ssh-add-key.yml --ask-pass

(defualt password is vagrant)

Install all kinds of stuff for the box:

ansible-playbook vagrant-playbook 

Gotchas

fatal: [192.168.33.10] => {'msg': "FAILED: ('192.168.33.10', <paramiko.rsakey.RSAKey object at 0x1053b7d90>, <paramiko.rsakey.RSAKey object at 0x1053b1f90>)", 'failed': True}
FATAL: all hosts have already failed -- aborting

Remove 192.168.33.10 line from known_hosts:

ssh-keygen -R 192.168.33.10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published