Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
add bootstrap-virtualenv with submodule init, and use this from Vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
trickv committed Oct 14, 2014
1 parent bf8a4a4 commit 0c986bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
doc/
playbooks/files/ssh-keys/
.vagrant
env
7 changes: 2 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ apt-get install -y vim git ack-grep
pip install virtualenv
rm -rf env
virtualenv env
source env/bin/activate
pip install ansible
pip install awscli
./bootstrap-virtualenv
echo "source env/bin/activate" > ~vagrant/.bash_profile
echo "cd /vagrant" >> ~vagrant/.bash_profile
Expand Down
8 changes: 8 additions & 0 deletions bootstrap-virtualenv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

rm -rf env
virtualenv env
source env/bin/activate
pip install ansible
pip install awscli
git submodule update --init playbooks/filter_plugins/ansible-string-split-filter

0 comments on commit 0c986bb

Please sign in to comment.