summaryrefslogtreecommitdiffstats
path: root/ci/nbp-ansible/README.md
diff options
context:
space:
mode:
authorleonwang <wanghui71@huawei.com>2018-03-15 08:25:05 +0000
committerleonwang <wanghui71@huawei.com>2018-03-15 08:39:22 +0000
commit6bc7e08cc5d80941c80e8d36d3a2b1373f147a05 (patch)
tree3e236cfc1f4ce35ad8ab09843010d16010da4054 /ci/nbp-ansible/README.md
parent6018fcdd41c2074b2c94d8033f1434be028b054b (diff)
Merge nbp installation into opensds ansible script
In this update, the nbp-ansible is removed from stor4nfv repo and all code has been merged into ansible repo. Besides, the latest update reduce a lot of work to download and build opensds source code. And some installation docs are also updated. Remove license statement for the moment. Change-Id: Ib8504d96e2d41e1c3ab7e0c94689111679d56abd Signed-off-by: leonwang <wanghui71@huawei.com>
Diffstat (limited to 'ci/nbp-ansible/README.md')
-rw-r--r--ci/nbp-ansible/README.md51
1 files changed, 0 insertions, 51 deletions
diff --git a/ci/nbp-ansible/README.md b/ci/nbp-ansible/README.md
deleted file mode 100644
index 5a4c5ab..0000000
--- a/ci/nbp-ansible/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# nbp-ansible
-This is an installation tool for opensds northbound plugins using ansible.
-
-## Install work
-
-### Pre-config (Ubuntu 16.04)
-First download some system packages:
-```
-sudo apt-get install -y openssh-server git
-```
-Then config ```/etc/ssh/sshd_config``` file and change one line:
-```conf
-PermitRootLogin yes
-```
-Next generate ssh-token:
-```bash
-ssh-keygen -t rsa
-ssh-copy-id -i ~/.ssh/id_rsa.pub <ip_address> # IP address of the target machine of the installation
-```
-
-### Install ansible tool
-```bash
-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.
-sudo apt-get update
-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.
-```
-
-### Configure nbp plugin variable
-##### Common environment:
-Configure the ```nbp_plugin_type``` in `group_vars/common.yml` according to your environment:
-```yaml
-nbp_plugin_type: flexvolume # flexvolume is the default integration way, but you can change it from 'csi', 'flexvolume'
-```
-
-### Check if the hosts can be reached
-```bash
-sudo ansible all -m ping -i nbp.hosts
-```
-
-### Run opensds-ansible playbook to start deploy
-```bash
-sudo ansible-playbook site.yml -i nbp.hosts
-```
-
-## Uninstall work
-
-### Run nbp-ansible playbook to clean the environment
-```bash
-sudo ansible-playbook clean.yml -i nbp.hosts
-```