feat(ansible): Refactor docker-image roles
[csit.git] / fdio.infra.ansible / tg.yaml
1 ---
2 # file: tg.yaml
3
4 - hosts: tg
5   remote_user: testuser
6   become: true
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: python_env
20       tags: python_env
21     - role: kernel
22       tags: kernel
23     - role: mellanox
24       tags: mellanox
25     - role: intel
26       tags: intel
27     - role: docker
28       tags: docker
29     - role: docker_images
30       tags: docker_images
31     - role: iperf
32       tags: iperf
33     - role: trex
34       tags: trex
35     - role: ab
36       tags: ab
37     - role: performance_tuning
38       tags: performance_tuning
39     - role: cleanup
40       tags: cleanup
41     - role: calibration
42       tags: calibration
43
44 - hosts: tg_aws
45   remote_user: testuser
46   become: true
47   become_user: root
48   gather_facts: false
49   pre_tasks:
50     - name: Gathering Facts
51       gather_facts:
52       tags:
53         - always
54   roles:
55     - role: user_add
56       tags: user_add
57     - role: common
58       tags: common
59     - role: python_env
60       tags: python_env
61     - role: dpdk
62       tags: dpdk
63     - role: docker
64       tags: docker
65     - role: iperf
66       tags: iperf
67     - role: aws
68       tags: aws
69     - role: trex
70       tags: trex
71     - role: ab
72       tags: ab
73     - role: cleanup
74       tags: cleanup
75     - role: calibration
76       tags: calibration
77
78 - hosts: tg_azure
79   become: true
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: python_env
93       tags: python_env
94     - role: docker
95       tags: docker
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     - role: calibration
107       tags: calibration