From 05b4327fd431dab374bad27ab4cb5069a31b8dc2 Mon Sep 17 00:00:00 2001 From: ramamani yeleswarapu Date: Thu, 6 Sep 2018 00:20:30 -0700 Subject: [stor4nfv] Update k8s scenarios Makes a few changes to 'stor4nfv' role to create csi pods. Change-Id: I179b82ddb524738a42ff1f7dcd36424d50a5c502 Signed-off-by: ramamani yeleswarapu --- plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh') diff --git a/plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh b/plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh index 112d9c84..89432135 100644 --- a/plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh +++ b/plugins/stor4nfv/roles/stor4nfv/files/configure_vars.sh @@ -49,3 +49,12 @@ sed -i 's/^opensds_auth_strategy.*/opensds_auth_strategy: noauth/g' group_vars/a sed -i '/check_ansible_version/a \ ignore_errors: yes\' roles/common/tasks/main.yml sed -i '/- dashboard-installer/s/^/#/g' site.yml + +# comment csi create pods in Stor4nfv +sed -i '/kubectl create/s/^/#/g' roles/nbp-installer/scenarios/csi.yml + +sed -i 's/^opensds_endpoint.*/opensds_endpoint: http:\/\/'"$1"':50040/g' group_vars/common.yml + +sed -i '/and service_ceph_osd_status.rc == 0/s/^/#/g' roles/osdsdock/scenarios/ceph.yml +sed -i '/and service_ceph_osd_status.rc == 0/a \ when: service_ceph_mon_status.rc == 0\' \ + roles/osdsdock/scenarios/ceph.yml -- cgit 1.2.3-korg