summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 69293aa..a5f49b9 100755
--- a/setup.sh
+++ b/setup.sh
@@ -55,6 +55,18 @@ case "$action" in
[ -n "$project" ] || { usage 'project name should be specified...' ; exit 1; }
apply playbooks/openshift-setup-project.yml --extra-vars "ands_configure_project=$project" "$@" || exit 1
;;
+ apps)
+ [ -n "$1" ] || { usage 'project name should be specified...' ; exit 1; }
+
+ vars="ands_configure_project=$1"
+ shift
+
+ if [[ -n "$1" && ${1:0:1} != "-" ]]; then
+ vars="$vars,ands_configure_app=$1"
+ shift
+ fi
+ apply playbooks/openshift-setup-apps.yml --extra-vars "$vars" "$@" || exit 1
+ ;;
openshift-masters)
apply playbooks/openshift-add-masters.yml "$@" || exit 1
;;
@@ -99,6 +111,9 @@ case "$action" in
upgrade)
apply playbooks/openshift-upgrade.yml "$@" || exit 1
;;
+ health)
+ apply playbooks/openshift-health.yml "$@" || exit
+ ;;
maintain)
apply playbooks/maintain.yml "$@" || exit
;;