summaryrefslogtreecommitdiffstats
path: root/ansible/setup-jenkins-slave.yml
blob: 5963f6e93142a8d9fcea0b5618b619a5ae93ecd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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