diff options
author | Markos Chandras <mchandras@suse.de> | 2018-01-26 14:05:51 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-01-26 14:06:55 +0000 |
commit | 19c6f8b9ceaddd8fc1cee1ad01db8320828b98fa (patch) | |
tree | 93226d2e8c551f61bba2841a6b6e55d8d5a37095 /xci/playbooks | |
parent | 9f585b8d5eb8bffcb2040ef97ec8300c1af10d1f (diff) |
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 <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks')
-rw-r--r-- | xci/playbooks/roles/run-functest/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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" |