Infra: Shared TG Ansible rules
[csit.git] / resources / tools / testbed-setup / ansible / tg.yaml
1 ---
2 # file: tg.yaml
3
4 - hosts: tg
5   remote_user: testuser
6   become: yes
7   become_user: root
8   gather_facts: false
9   pre_tasks:
10     - name: Gathering Facts
11       gather_facts:
12       tags:
13         - always
14   roles:
15     - role: baremetal
16       tags: baremetal
17     - role: common
18       tags: common
19     - role: kernel
20       tags: kernel
21     - role: mellanox
22       tags: mellanox
23     - role: docker
24       tags: docker
25     - role: iperf
26       tags: iperf
27     - role: trex
28       tags: trex
29     - role: ab
30       tags: ab
31     - role: tg
32       tags: tg
33     - role: csit_sut_image
34       tags: csit_sut_image
35     - role: performance_tuning
36       tags: performance_tuning
37     - role: cleanup
38       tags: cleanup
39     - role: calibration
40       tags: calibration
41
42 - hosts: tg_aws
43   remote_user: testuser
44   become: yes
45   become_user: root
46   gather_facts: false
47   pre_tasks:
48     - name: Gathering Facts
49       gather_facts:
50       tags:
51         - always
52   roles:
53     - role: user_add
54       tags: user_add
55     - role: common
56       tags: common
57     - role: dpdk
58       tags: dpdk
59     - role: docker
60       tags: docker
61     - role: tg
62       tags: tg
63     - role: iperf
64       tags: iperf
65     - role: trex
66       tags: trex
67     - role: ab
68       tags: ab
69     - role: aws
70       tags: aws
71     - role: cleanup
72       tags: cleanup
73     # TODO: 'Check Kernel Parameters' failing in
74     # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
75     # - role: calibration
76     #   tags: calibration
77
78 - hosts: tg_azure
79   become: yes
80   become_user: root
81   gather_facts: false
82   pre_tasks:
83     - name: Gathering Facts
84       gather_facts:
85       tags:
86         - always
87   roles:
88     - role: user_add
89       tags: user_add
90     - role: common
91       tags: common
92     - role: docker
93       tags: docker
94     - role: tg
95       tags: tg
96     - role: iperf
97       tags: iperf
98     - role: trex
99       tags: trex
100     - role: ab
101       tags: ab
102     - role: azure
103       tags: azure
104     - role: cleanup
105       tags: cleanup
106     # TODO: 'Check Kernel Parameters' failing in
107     # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
108     # - role: calibration
109     #   tags: calibration