1 # Copyright (c) 2018 Intel Corporation.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 msg: "chrooted in {{ inventory_hostname }}"
22 - debug: msg="play_hosts={{play_hosts}}"
25 name: "{{ role_item }}"
34 name: set_package_installer_proxy
35 when: proxy_env is defined and proxy_env
37 - include_vars: roles/install_dpdk/vars/main.yml
38 when: dpdk_make_arch is undefined
40 - include_vars: roles/download_dpdk/defaults/main.yml
41 when: dpdk_version is undefined
43 - include_vars: roles/download_trex/defaults/main.yml
44 when: trex_unarchive is undefined
46 - include_vars: roles/download_civetweb/defaults/main.yml
47 when: civetweb_dest is undefined
50 name: "{{ role_item }}"
52 - install_image_dependencies
53 - enable_hugepages_on_boot # can't update grub in chroot/docker
54 - increase_open_file_limits # needed for collectd plugins
66 environment: "{{ proxy_env }}"
68 - include_vars: roles/install_dpdk/defaults/main.yml
69 when: INSTALL_BIN_PATH is undefined
71 - include_vars: roles/download_samplevnfs/defaults/main.yml
72 when: samplevnf_dest is undefined
74 samplevnf_path: "{{ samplevnf_dest }}"
76 name: install_samplevnf
86 - include_vars: roles/download_drivers/defaults/main.yml
87 when: i40evf_path is undefined
90 name: "{{ role_item }}"
92 - install_dpdk_shared # build shared DPDK for collectd only, required DPDK downloaded already
94 - download_intel_cmt_cat
95 - install_intel_cmt_cat
104 environment: "{{ proxy_env }}"