Adapt kubespray to stack oriented framework

This change adapts installer kubespray to stack oriented framework
approach. The changes in summary are

- role package is moved to stack kubernetes
- apps and scenarios are moved from swconfig repo to this repo
- playbooks and roles pre-deployment and post-deployment are renamed to
  preinstall and postinstall respectively
- vars moved to kubernetes repository and only the installer version is
  controlled in this repo
- shellcheck outcome is ignored as the failures are due to moving
  scenarios and apps from swconfig repo and it will be enabled back once
  the issues are fixed

Change-Id: I36860547b6493c579b600c063ecb413151c370b7
diff --git a/install.sh b/install.sh
index cbde9de..b5d9f2f 100755
--- a/install.sh
+++ b/install.sh
@@ -43,14 +43,15 @@
     -i "${ENGINE_PATH}/engine/inventory/inventory.ini" \
     "${INSTALLER_ROOT_DIR}/playbooks/configure-installer.yml"
 
-# bootstrap scenario
+# run scenario pre-deployment tasks
 echo "-------------------------------------------------------------------------"
-echo "Info  : Execute scenario pre deployment tasks"
+echo "Info  : Execute scenario preinstall tasks"
 echo "-------------------------------------------------------------------------"
 cd "${ENGINE_PATH}"
 ansible-playbook "${ENGINE_ANSIBLE_PARAMS[@]}" \
     -i "${ENGINE_PATH}/engine/inventory/inventory.ini" \
-    "${INSTALLER_ROOT_DIR}/playbooks/pre-deployment.yml"
+    --tags preinstall \
+    "${INSTALLER_ROOT_DIR}/playbooks/scenarios/${DEPLOY_SCENARIO}.yaml"
 
 # install scenario
 echo "-------------------------------------------------------------------------"
@@ -63,13 +64,14 @@
     --flush-cache \
     cluster.yml
 
-# run post-deployment tasks
+# run scenario post-deployment tasks
 echo "-------------------------------------------------------------------------"
-echo "Info  : Execute scenario and common post deployment tasks"
+echo "Info  : Execute scenario postinstall tasks"
 echo "-------------------------------------------------------------------------"
 cd "${ENGINE_PATH}"
 ansible-playbook "${ENGINE_ANSIBLE_PARAMS[@]}" \
     -i "${ENGINE_PATH}/engine/inventory/inventory.ini" \
-    "${INSTALLER_ROOT_DIR}/playbooks/post-deployment.yml"
+    --tags postinstall \
+    "${INSTALLER_ROOT_DIR}/playbooks/scenarios/${DEPLOY_SCENARIO}.yaml"
 
 # vim: set ts=2 sw=2 expandtab: