---
# 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: python_env
      tags: python_env
    - role: kernel
      tags: kernel
    - role: mellanox
      tags: mellanox
    - role: intel
      tags: intel
    - role: docker
      tags: docker
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - role: tg
      tags: tg
    - role: csit_sut_image
      tags: csit_sut_image
    - 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: python_env
      tags: python_env
    - role: dpdk
      tags: dpdk
    - role: docker
      tags: docker
    - role: tg
      tags: tg
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - role: aws
      tags: aws
    - role: cleanup
      tags: cleanup
    - 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: python_env
      tags: python_env
    - role: docker
      tags: docker
    - role: tg
      tags: tg
    - role: iperf
      tags: iperf
    - role: trex
      tags: trex
    - role: ab
      tags: ab
    - role: azure
      tags: azure
    - role: cleanup
      tags: cleanup
    - role: calibration
      tags: calibration