summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
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
;;