Merge "Add yardstick report for each task"
[yardstick.git] / ansible / ubuntu_server_cloudimg_modify_cgnapt.yml
1 # Copyright (c) 2017 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 ---
15 - hosts: chroot_image
16   connection: chroot
17   vars:
18     clone_dir: /tmp/yardstick-clone
19
20   pre_tasks:
21     - debug: msg="chrooted in {{ inventory_hostname }}"
22
23   roles:
24 #    - reset_resolv_conf
25 #    - add_custom_repos
26 #    - role: set_package_installer_proxy
27 #      when: proxy_env is defined and proxy_env
28     # can update grub in chroot/docker
29 #    - enable_hugepages_on_boot
30 #    - modify_cloud_config
31 #    - install_image_dependencies
32 #    - role: download_dpdk
33 #      dpdk_version: "16.07"
34 #    - install_dpdk
35 #    - download_samplevnfs
36     - install_vnf_vCGNAPT
37 #    - copy_L4Replay
38 #    - install_L4Replay
39 #    - copy_trex
40 #    - install_trex
41