aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/setup-simtest.yml
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-07-16 19:40:45 +0200
committerAlexander Couzens <lynxis@fe80.eu>2018-07-19 23:04:24 +0200
commitc1c9052f116ca6e8788d8db3daa38201bb8c6a7d (patch)
treec46a93f8e6a889c6dd281dc974ef1704cb6211d2 /ansible/setup-simtest.yml
parentd2cacbd784d4c092505cbaaf08f1f6bba4da957d (diff)
ansible: add playbook setup-simtest
Diffstat (limited to 'ansible/setup-simtest.yml')
-rw-r--r--ansible/setup-simtest.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/ansible/setup-simtest.yml b/ansible/setup-simtest.yml
new file mode 100644
index 0000000..2cbd45b
--- /dev/null
+++ b/ansible/setup-simtest.yml
@@ -0,0 +1,32 @@
+---
+- name: setup jenkins slaves
+ hosts: simtester
+ user: root
+ tasks:
+ - name: apt-get update
+ apt:
+ cache_valid_time: 3600
+ update_cache: yes
+
+ - name: install common utilities
+ apt:
+ name: "{{ item }}"
+ install_recommends: no
+ with_items:
+ - vim
+ - ca-certificates
+ - python-minimal
+ - python-setuptools
+ - python-pip
+ - python-serial
+ - python-pyscard
+ - virtualenv
+
+ roles:
+ - name: osmocom-jenkins-slave
+ generic_slave: false
+ install_jenkins_utilities: false
+ install_osmocom_build_deps: false
+ ttcn3_slave: false
+ tags:
+ - jenkins-slave