From 19c6f8b9ceaddd8fc1cee1ad01db8320828b98fa Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 26 Jan 2018 14:05:51 +0000 Subject: xci: run-functest: Add required functest packages The package requirements are the same across distros so we simply hardcode them in the task. Fixes the following problem: fatal: [opnfv]: FAILED! => {"changed": true, "cmd": "/root/run-functest.sh", "delta": "0:00:09.150226", "end": "2018-01-26 14:01:18.758704", "failed": true, "rc": 125, "start": "2018-01-26 1 4:01:09.608478", "stderr": "/root/run-functest.sh: line 14: wget: command not found Change-Id: Ib07acac18f8ece1111ee0706766f32005d0ac1da Signed-off-by: Markos Chandras --- xci/playbooks/roles/run-functest/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xci/playbooks/roles/run-functest/tasks/main.yml b/xci/playbooks/roles/run-functest/tasks/main.yml index 8ca2b7ba..3dc8e0bb 100644 --- a/xci/playbooks/roles/run-functest/tasks/main.yml +++ b/xci/playbooks/roles/run-functest/tasks/main.yml @@ -28,5 +28,12 @@ dest: /root/run-functest.sh mode: 0755 +- name: install required packages + package: + name: "{{ item }}" + state: present + with_items: + - wget + - name: execute the script shell: "/root/run-functest.sh" -- cgit 1.2.3-korg