Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / ansible / ubuntu_server_cloudimg_modify.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     # used to install the tools
19     clone_dir: /tmp/yardstick-clone
20
21   pre_tasks:
22     - debug: msg="chrooted in {{ inventory_hostname }}"
23
24   roles:
25     - reset_resolv_conf
26     - add_custom_repos
27     - modify_cloud_config
28     - role: set_package_installer_proxy
29       when: proxy_env is defined and proxy_env
30     - download_l2fwd
31     - install_image_dependencies
32     - download_unixbench
33     - install_unixbench
34     - download_ramspeed
35     - install_ramspeed
36     - download_cachestat
37     # there is no install for cachestat
38 #    - install_cachestat
39