summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-16 20:54:52 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-16 20:54:52 +0100
commit96ced00e05b50f276841a9212ae89e018de4d92d (patch)
treeb86c75fa97326dc89cc37c6dd23d294bd13eb56a /setup.sh
parentcd94e324d3401e518578d91382a2b7ee67562112 (diff)
downloadands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.gz
ands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.bz2
ands-96ced00e05b50f276841a9212ae89e018de4d92d.tar.xz
ands-96ced00e05b50f276841a9212ae89e018de4d92d.zip
Updated to OpenShift 3.7 and tested
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh18
1 files changed, 13 insertions, 5 deletions
diff --git a/setup.sh b/setup.sh
index a61da44..2905cda 100755
--- a/setup.sh
+++ b/setup.sh
@@ -5,16 +5,20 @@
case "${1}" in
all)
- ./setup.sh prepare
- ./setup.sh openshift
- ./setup.sh configure
- ./setup.sh projects
+ ./setup.sh -i $inventory prepare || exit 1
+ ./setup.sh -i $inventory openshift || exit 1
+ ./setup.sh -i $inventory gluster || exit 1
+ ./setup.sh -i $inventory configure || exit 1
+ ./setup.sh -i $inventory projects || exit 1
;;
local)
apply playbooks/local.yml || exit 1
;;
vm)
- apply playbooks/ands-setup-vm.yml || exit 1
+ apply playbooks/ands-vm-setup.yml || exit 1
+ ;;
+ vmconf)
+ apply playbooks/ands-vm-conf.yml || exit 1
;;
prepare)
apply playbooks/ands-prepare.yml || exit 1
@@ -22,6 +26,9 @@ case "${1}" in
openshift)
apply playbooks/openshift-install.yml || exit 1
;;
+ gluster)
+ apply playbooks/ands-gluster.yml || exit 1
+ ;;
configure)
apply playbooks/openshift-setup.yml || exit 1
;;
@@ -34,6 +41,7 @@ case "${1}" in
nodes)
./setup.sh prepare || exit 1
./setup.sh openshift-nodes || exit 1
+ ./setup.sh gluster || exit 1
./setup.sh configure || exit 1
;;
users)