aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/sut.yaml
blob: afa4d40ef551424f6829fd63ee31742abe6780ec (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
---
# file: sut.yaml

- hosts: sut
  remote_user: testuser
  become: yes
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: baremetal
      tags: baremetal
    - role: common
      tags: common
    - role: kernel
      tags: kernel
    - role: mellanox
      tags: mellanox
    - role: docker
      tags: docker
    - role: vpp
      tags: vpp
    - role: dpdk
      tags: dpdk
    - role: kernel_vm
      tags: kernel_vm
    - role: csit_sut_image
      tags: csit_sut_image
    - role: performance_tuning
      tags: performance_tuning
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration

- hosts: sut_aws
  remote_user: testuser
  become: yes
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: user_add
      tags: user_add
    - role: common
      tags: common
    - role: vpp
      tags: vpp
    - role: dpdk
      tags: dpdk
    - role: aws
      tags: aws
    - role: iperf
      tags: iperf
    - role: docker
      tags: docker
    - role: cleanup
      tags: cleanup
    # TODO: 'Check Kernel Parameters' failing in
    # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
    # - role: calibration
    #   tags: calibration

- hosts: sut_azure
  become: yes
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: user_add
      tags: user_add
    - role: common
      tags: common
    - role: docker
      tags: docker
    - role: vpp
      tags: vpp
    - role: azure
      tags: azure
    - role: iperf
      tags: iperf
    - role: dpdk
      tags: dpdk
    - role: cleanup
      tags: cleanup
    # TODO: 'Check Kernel Parameters' failing in
    # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
    # - role: calibration
    #   tags: calibration