added EC2 provisioning, optimised docker for EC2, added python and

cppjit client (python not yet working)
This commit is contained in:
sveneh
2015-01-25 22:52:38 +01:00
parent 52e174b1f7
commit 58ec49a34d
18 changed files with 1089 additions and 74 deletions
+4
View File
@@ -0,0 +1,4 @@
---
- name: restart sshd
sudo: true
service: name=ssh state=restarted
+5 -20
View File
@@ -1,28 +1,13 @@
---
- name: install docker
sudo: true
# install script from https://docs.docker.com/installation/ubuntulinux/
shell: curl -sSL https://get.docker.com/ubuntu/ | sudo sh
- name: install package dependencies
sudo: true
apt: name={{ item }}
with_items:
- python-pip
- htop
- name: install python dependencies
sudo: true
pip: name=docker-py
- name: enable docker for standard user
sudo: true
# todo: how to logout after this command, otherwise won't be effective in this play
user: name=vagrant groups=docker append=yes
- parallel
- htop
- name: checkout test repo
git:
repo: https://github.com/sveneh/tests.git
version: develop
dest: git
repo: https://github.com/ethereum/tests.git
version: develop
dest: git