Infra: Ansible Ubuntu 20.04 follow-ups
[csit.git] / resources / tools / testbed-setup / ansible / sut.yaml
1 ---
2 # file: sut.yaml
3
4 - hosts: sut
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: vpp
26       tags: vpp
27     - role: dpdk
28       tags: dpdk
29     - role: kernel_vm
30       tags: kernel_vm
31     - role: performance_tuning
32       tags: performance_tuning
33     - role: cleanup
34       tags: cleanup
35     - role: calibration
36       tags: calibration
37
38 - hosts: sut_aws
39   remote_user: testuser
40   become: yes
41   become_user: root
42   gather_facts: false
43   pre_tasks:
44     - name: Gathering Facts
45       gather_facts:
46       tags:
47         - always
48   roles:
49     - role: user_add
50       tags: user_add
51     - role: common
52       tags: common
53     - role: vpp
54       tags: vpp
55     - role: dpdk
56       tags: dpdk
57     - role: iperf
58       tags: iperf
59     - role: docker
60       tags: docker
61     - role: aws
62       tags: aws
63     - role: cleanup
64       tags: cleanup
65     # TODO: 'Check Kernel Parameters' failing in
66     # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
67     # - role: calibration
68     #   tags: calibration
69
70 - hosts: sut_azure
71   become: yes
72   become_user: root
73   gather_facts: false
74   pre_tasks:
75     - name: Gathering Facts
76       gather_facts:
77       tags:
78         - always
79   roles:
80     - role: user_add
81       tags: user_add
82     - role: common
83       tags: common
84     - role: docker
85       tags: docker
86     - role: vpp
87       tags: vpp
88     - role: iperf
89       tags: iperf
90     - role: dpdk
91       tags: dpdk
92     - role: azure
93       tags: azure
94     - role: cleanup
95       tags: cleanup
96     # TODO: 'Check Kernel Parameters' failing in
97     # resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
98     # - role: calibration
99     #   tags: calibration