1 # Copyright (c) 2017 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.
15 - name: Prepare baremetal machine
16 include: ubuntu_server_baremetal_deploy_samplevnfs.yml
20 - name: Install jumphost dependencies and configure docker
25 - install_dependencies
28 - name: "handle all openstack stuff when: openrc_file is defined"
29 include: prepare_openstack.yml
30 when: openrc_file is defined
32 - name: start yardstick container on jumphost
35 - name: Start yardstick container
40 image: opnfv/yardstick:latest
42 restart_policy: always
46 - "{{ openrc_file|default('/dev/null') }}:/etc/yardstick/openstack.creds:ro"
47 - /var/run/docker.sock:/var/run/docker.sock
49 - /etc/localtime:/etc/localtime:ro