From ff4ceec2efd42fb1573e4faf4fe1840121e99715 Mon Sep 17 00:00:00 2001 From: Ace Lee Date: Mon, 4 Dec 2017 09:07:14 +0000 Subject: ansible image build improvement JIRA: YARDSTICK-879 Add some image build vars Add automatic image build of nsb yardstick_image: ansible-playbook -e img_property="normal" -vvv -i inventory.ini build_yardstick_image.yml nsb_image_build: ansible-playbook -e img_property="nsb" -vvv -i inventory.ini build_yardstick_image.yml prepare for yardstick image uploading Change-Id: I9fdf30084511ca9a008df3b53887b06273bbd549 Signed-off-by: Ace Lee --- ansible/group_vars/all.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ansible/group_vars') diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index edd6564d0..359968277 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -1,6 +1,9 @@ --- +target_os: "Ubuntu" +YARD_IMG_ARCH: "amd64" clone_dest: /opt/tempT release: xenial -target_os: Ubuntu +normal_image_file: "{{ workspace }}/yardstick-image.img" +nsb_image_file: "{{ workspace }}/yardstick-nsb-image.img" ubuntu_image_file: /tmp/workspace/yardstick/yardstick-trusty-server.raw -proxy_env: {} \ No newline at end of file +proxy_env: {} -- cgit 1.2.3-korg