aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/ansible/roles/common
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-09 06:07:44 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-14 06:26:07 +0800
commita91908e5678397a466060aa614081974a4a36455 (patch)
tree978be70e63397722f6bec971f045418096995fab /tests/files/ansible/roles/common
parentae33883c2fd72b960e774833708deb1ce10e3fe4 (diff)
downloadgo-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.gz
go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.zst
go-tangerine-a91908e5678397a466060aa614081974a4a36455.zip
tests: updated
Diffstat (limited to 'tests/files/ansible/roles/common')
-rw-r--r--tests/files/ansible/roles/common/handlers/main.yml4
-rw-r--r--tests/files/ansible/roles/common/tasks/main.yml13
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/files/ansible/roles/common/handlers/main.yml b/tests/files/ansible/roles/common/handlers/main.yml
new file mode 100644
index 000000000..767fc7ba6
--- /dev/null
+++ b/tests/files/ansible/roles/common/handlers/main.yml
@@ -0,0 +1,4 @@
+---
+- name: restart sshd
+ sudo: true
+ service: name=ssh state=restarted
diff --git a/tests/files/ansible/roles/common/tasks/main.yml b/tests/files/ansible/roles/common/tasks/main.yml
new file mode 100644
index 000000000..6c0c7a119
--- /dev/null
+++ b/tests/files/ansible/roles/common/tasks/main.yml
@@ -0,0 +1,13 @@
+---
+- name: install package dependencies
+ sudo: true
+ apt: name={{ item }}
+ with_items:
+ - parallel
+ - htop
+
+- name: checkout test repo
+ git:
+ repo: https://github.com/ethereum/tests.git
+ version: develop
+ dest: git