Merge "Add vCMTS VNF for running vCMTSd containers"
[yardstick.git] / ansible / roles / set_flavor_property / tasks / main.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 - name: set flavor "{{ flavor }}" property {{ key }} = {{ value }}
10   shell:
11     source /etc/yardstick/openstack.creds;
12     openstack flavor set --property {{ key }}={{ value }}  {{ flavor }};
13   args:
14       executable: /bin/bash