summaryrefslogtreecommitdiffstats
path: root/ansible/setup-gsm-tester.yml
blob: 99cc3e40b34db9df6757f9446eb1cf26cd4d7c64 (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
56
---
- 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
      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: 10.42.42.2
      udhcpd_interface: enp2s0
      # udhcpd_static_leases is set via host_vars/*