diff options
author | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-02-26 20:30:44 -0800 |
---|---|---|
committer | ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> | 2018-02-27 14:33:55 -0800 |
commit | 0d7ba90b8e90b948842ae7a41d14a6af7fad9e8a (patch) | |
tree | 92e5851c81d4b16b27126fc77e444ff79b29ec32 /plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml | |
parent | 9282b64991b14a1df88b4f23e324f0addeca83af (diff) |
Update Stor4nfv plugin with nbp csi install
Change-Id: Ia32ea3c29b78f18aae258fa89b017e894b09301f
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml')
-rw-r--r-- | plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml b/plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml new file mode 100644 index 00000000..5361f5cd --- /dev/null +++ b/plugins/stor4nfv/roles/stor4nfv/tasks/nbp.yml @@ -0,0 +1,27 @@ +# ############################################################################# +# Copyright (c) 2018 Intel Corp. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# ############################################################################# +--- + +- name: render nbp inventory + remote_user: root + template: + src: nbp.hosts.j2 + dest: $HOME/gopath/src/github.com/stor4nfv/stor4nfv/ci/nbp-ansible/nbp.hosts + +- name: set nbp to csi + remote_user: root + shell: | + cd $HOME/gopath/src/github.com/stor4nfv/stor4nfv/ci/nbp-ansible; + sed -i 's/^nbp_plugin_type.*/nbp_plugin_type: csi/g' group_vars/common.yml + +- name: run playbook + remote_user: root + shell: | + cd $HOME/gopath/src/github.com/stor4nfv/stor4nfv/ci/nbp-ansible; + ansible-playbook site.yml -i nbp.hosts | tee /var/log/stor4nfv-nbp.log |