summaryrefslogtreecommitdiffstats
path: root/ansible/setup-gsm-tester.yml
blob: 8232102c194a88e5e524191e2d747be6688e835c (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
36
37
38
39
---
- name: setup osmo-gsm-tester apu
  hosts: gsm-tester
  user: root
  tasks:
    - name: install common utilities
      apt:
        name: "{{ item }}"
        cache_valid_time: 3600
        update_cache: yes
      with_items:
        - vim
        - tmux
        - screen
        - ca-certificates
        - wget
        - curl
  roles:
    - name: gsm-tester
      # how many modems are connected via a quadmodem?
      gsm_modems: 4
      tags:
        - gsm-tester

    - name: gsm-tester-modems
      tags:
        - gsm-tester
        - gsm-tester-modems

    - name: gsm-tester-network
      bts_interface: enp2s0
      tags:
        - gsm-tester

    - name: osmocom-jenkins-slave
      jenkins_user: jenkins
      generic_slave: false
      tags:
        - jenkins-slave