1 # Copyright (c) 2018-2019 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
61 environment: "{{ proxy_env }}"
64 name: "{{ role_item }}"
66 dpdk_version: "{{ dpdk_version_for_PROX }}"
73 environment: "{{ proxy_env }}"
75 - include_vars: roles/install_dpdk/defaults/main.yml
76 when: INSTALL_BIN_PATH is undefined
80 name: install_samplevnf
85 name: "{{ role_item }}"
93 environment: "{{ proxy_env }}"
95 - include_vars: roles/download_samplevnfs/defaults/main.yml
96 when: samplevnf_dest is undefined
98 samplevnf_path: "{{ samplevnf_dest }}"
100 name: install_samplevnf
109 - include_vars: roles/download_drivers/defaults/main.yml
110 when: i40evf_path is undefined
113 name: "{{ role_item }}"
115 - install_dpdk_shared # build shared DPDK for collectd only, required DPDK downloaded already
117 - download_intel_cmt_cat
118 - install_intel_cmt_cat
127 environment: "{{ proxy_env }}"