From: Yibo Cai Date: Tue, 29 May 2018 07:47:48 +0000 (+0800) Subject: stor4nfv: install ceph-ansible requirements X-Git-Tag: opnfv-7.0.0~50^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F58025%2F1;p=compass4nfv.git stor4nfv: install ceph-ansible requirements Latest ceph-ansible deployment failed due to missing python-notario package. This patch is to install all ceph-ansible required packages. Reference ceph-ansible commit: https://bit.ly/2kyDy1K Change-Id: I93d61c28ccddd079b5bd42ea09b9e2239dc5cadc Signed-off-by: Yibo Cai --- diff --git a/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml b/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml index a095ceb0..3252fefb 100644 --- a/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml +++ b/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml @@ -30,7 +30,8 @@ remote_user: root shell: | cd /opt; - git clone https://github.com/ceph/ceph-ansible.git + git clone https://github.com/ceph/ceph-ansible.git; + [ -f ceph-ansible/requirements.txt ] && pip install -r ceph-ansible/requirements.txt - name: fetch stor4nfv source code remote_user: root