Add csi plugin ansible and tutorial document
[stor4nfv.git] / ci / nbp-ansible / README.md
index 391bcc3..5a4c5ab 100644 (file)
@@ -18,9 +18,6 @@ ssh-keygen -t rsa
 ssh-copy-id -i ~/.ssh/id_rsa.pub <ip_address> # IP address of the target machine of the installation\r
 ```\r
 \r
-### Install docker\r
-If use a standalone cinder as backend, you also need to install docker to run cinder service. Please see the [docker installation document](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) for details.\r
-\r
 ### Install ansible tool\r
 ```bash\r
 sudo add-apt-repository ppa:ansible/ansible # This step is needed to upgrade ansible to version 2.4.2 which is required for the ceph backend.\r
@@ -29,6 +26,13 @@ sudo apt-get install ansible
 ansible --version # Ansible version 2.4.2 or higher is required for ceph; 2.0.0.2 or higher is needed for other backends.\r
 ```\r
 \r
+### Configure nbp plugin variable\r
+##### Common environment:\r
+Configure the ```nbp_plugin_type``` in `group_vars/common.yml` according to your environment:\r
+```yaml\r
+nbp_plugin_type: flexvolume # flexvolume is the default integration way, but you can change it from 'csi', 'flexvolume'\r
+```\r
+\r
 ### Check if the hosts can be reached\r
 ```bash\r
 sudo ansible all -m ping -i nbp.hosts\r