aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2018-06-13 06:27:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-13 06:27:31 +0000
commitc3f43c48a7f8de5855749b922f97e2185c04ad5c (patch)
treea3a9ec45da62e9a8109af387aec5405ddcecca8c /plugins
parentad6412b06e8605a85e21b6de4c6428df5ead3b7f (diff)
parent32838da8595d6195421944e5bc0a3448f51f8fb0 (diff)
Merge "stor4nfv: install ceph-ansible requirements"
Diffstat (limited to 'plugins')
-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