summaryrefslogtreecommitdiffstats
path: root/ansible/setup-gsm-tester.yml
blob: 26285df1f73643be0f9278df4935740db313c40b (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
- name: setup osmo-gsm-tester apu
  hosts: gsm-tester
  user: root
  tasks:
    - name: install common utilities
      apt:
        name:
          - vim
          - tmux
          - screen
          - ca-certificates
          - wget
          - curl
        cache_valid_time: 3600
        update_cache: yes
  roles:
    - name: gsm-tester
      tags:
        - gsm-tester

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

    - name: gsm-tester-bts
      tags:
        - gsm-tester
        - gsm-tester-bts

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

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

    - name: docker
      jenkins_user: jenkins
      tags:
        - docker

    - name: udhcpd
      udhcpd_router: 10.42.42.1
      udhcpd_range_start: 10.42.42.230
      udhcpd_range_end: 10.42.42.235
      udhcpd_subnet: 255.255.255.0
      udhcpd_dns: 8.8.8.8
      udhcpd_interface: enp2s0
      # udhcpd_static_leases is set via host_vars/*