aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/tg.yaml
blob: 2b18b5d85d13d461cdfaf15dba6fc415bbfaa479 (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
102
103
104
105
106
107
---
# file: tg.yaml

- hosts: tg
  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: tg
      tags: tg
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - role: performance_tuning
      tags: performance_tuning
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration

- hosts: tg_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: dpdk
      tags: dpdk
    - role: aws
      tags: aws
    - role: docker
      tags: docker
    - role: tg
      tags: tg
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - 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: tg_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: azure
      tags: azure
    - role: docker
      tags: docker
    - role: tg
      tags: tg
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - role: cleanup
      tags: cleanup
    # TODO: 'Check Kernel Parameters' failing in
    # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
    # - role: calibration
    #   tags: calibration