aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYibo Cai <yibo.cai@arm.com>2018-05-29 15:47:48 +0800
committerYibo Cai <yibo.cai@arm.com>2018-05-29 17:52:40 +0800
commit32838da8595d6195421944e5bc0a3448f51f8fb0 (patch)
treea494e0bef1a5aeec0675801fd5c8757ca35d4c62
parent729a1cc3924f0fb33e00bfebe1f7bfda05606578 (diff)
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 <yibo.cai@arm.com>
-rw-r--r--plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml b/plugins/stor4nfv/roles/stor4nfv/tasks/opensds.yml
index a095ceb..3252fef 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