summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:46:55 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-28 23:46:55 +0100
commit1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7 (patch)
treec75d04456ab3593442734bec3d84c90e4b973f27 /setup.sh
parentfe4622305efa55e6bec8221efe8fc4bdd5462136 (diff)
downloadands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.gz
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.bz2
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.tar.xz
ands-1f3e2a9f59e83dc3f0fcbecf096a7e7b40d36ed7.zip
First running prototype
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index b7d12b3..83b8a52 100755
--- a/setup.sh
+++ b/setup.sh
@@ -35,6 +35,12 @@ case "${1}" in
projects)
apply playbooks/openshift-setup-projects.yml || exit 1
;;
+ project)
+ project=$2
+ shift
+ [ -z "$project" ] && { echo 'project name should be specified...' ; exit 1; }
+ apply playbooks/openshift-setup-project.yml --extra-vars "ands_configure_project=$project" || exit 1
+ ;;
openshift-nodes)
apply playbooks/openshift-add-nodes.yml || exit 1
;;