aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml
blob: 8dd885f0f71f928800c562bb5756fda29ae0e7b5 (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
---
# file: roles/tg/tasks/main.yaml

- name: Install distribution - release - machine prerequisites
  include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'

- name: Install WRK
  include_tasks: 'wrk.yaml'
  tags: install-wrk
<<<<<<< HEAD   (89d1c9 Report: Show TSH results)
=======

- name: Install TRex
  include_tasks: 'trex.yaml'
  tags: install-trex

- name: Copy csit-initialize-docker-tg.sh
  copy:
   src: 'files/csit-initialize-docker-tg.sh'
   dest: '/usr/local/bin/csit-initialize-docker-tg.sh'
   owner: 'root'
   group: 'root'
   mode: '744'
  when: docker_tg is defined
  tags: docker-tg

- name: Start csit-initialize-docker-tg.service
  copy:
   src: 'files/csit-initialize-docker-tg.service'
   dest: '/etc/systemd/system/'
   owner: 'root'
   group: 'root'
   mode: '644'
  notify:
    - 'Start csit-initialize-docker-tg.service'
  when: docker_tg is defined
  tags: docker-tg

- meta: flush_handlers
>>>>>>> CHANGE (96eaab Add: Use containers for shared TG)