summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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