summaryrefslogtreecommitdiffstats
path: root/ansible/setup-jenkins-slave.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/setup-jenkins-slave.yml')
-rw-r--r--ansible/setup-jenkins-slave.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/ansible/setup-jenkins-slave.yml b/ansible/setup-jenkins-slave.yml
new file mode 100644
index 0000000..5963f6e
--- /dev/null
+++ b/ansible/setup-jenkins-slave.yml
@@ -0,0 +1,35 @@
+---
+- name: setup jenkins slaves
+ hosts: jenkins-slaves
+ user: root
+ tasks:
+ - name: install common utilities
+ apt:
+ name: "{{ item }}"
+ cache_valid_time: 3600
+ update_cache: yes
+ with_items:
+ - vim
+ - tmux
+ - screen
+ - ca-certificates
+ roles:
+ - name: docker
+ jenkins_user: osmocom-build
+ tags:
+ - docker
+
+ - name: install-poky-sdk
+ jenkins_user: osmocom-build
+ tags:
+ - poky
+
+ - name: osmocom-jenkins-slave
+ jenkins_user: osmocom-build
+ generic_slave: true
+ tags:
+ - jenkins-slave
+
+ - name: install-coverity
+ tags:
+ - coverity