stor4nfv: install ceph-ansible requirements 25/58025/1
authorYibo Cai <yibo.cai@arm.com>
Tue, 29 May 2018 07:47:48 +0000 (15:47 +0800)
committerYibo Cai <yibo.cai@arm.com>
Tue, 29 May 2018 09:52:40 +0000 (17:52 +0800)
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 <yibo.cai@arm.com>
plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml

index a095ceb..3252fef 100644 (file)
@@ -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