Skip to content

Commit

Permalink
Switch to ubuntu image and add ppa (wip) #61
Browse files Browse the repository at this point in the history
  • Loading branch information
konradkonrad committed Aug 31, 2016
1 parent d9f95e8 commit 6a9470e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions tools/ansible/group_vars/key_raiden.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ansible_ssh_private_key_file: keys/raiden.pem
remote_user: ubuntu
2 changes: 1 addition & 1 deletion tools/ansible/roles/tester/vars/main.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ami_id: ami-7f77b31f # Amazon Linux AMI 2016.03.3 EBS backed
ami_id: ami-3e32f05e # Ubuntu Server 14.04 LTS (PV), SSD Volume Type 64bit
region: us-west-2
instance_type: t1.micro
14 changes: 12 additions & 2 deletions tools/ansible/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,28 @@

- hosts: key_raiden
name: configuration play
remote_user: ec2-user
remote_user: "{{ remote_user }}"
gather_facts: true
tags:
- configure

tasks:
- meta: refresh_inventory
- name: call 'date'
shell: cmd=date

- name: add ethereum ppa
apt_repository: repo=ppa:ethereum/ethereum validate_certs=no

- name: install geth, solc
apt: name="{{ item }}"
with_items:
- geth
- solc

- hosts: key_raiden
name: terminate
remote_user: ec2-user
remote_user: "{{ remote_user }}"
gather_facts: False
roles:
- tester
Expand Down

0 comments on commit 6a9470e

Please sign in to comment.