summaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-13 05:01:30 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-13 05:01:30 +0100
commit006f333828db373435daa15483d2ab753048f62a (patch)
tree4ae2bedeeb46e69893ee28f96b7d2d48d37549dc /setup.sh
parent0db2995395d28caf4676ab566085b7c66130b629 (diff)
downloadands-006f333828db373435daa15483d2ab753048f62a.tar.gz
ands-006f333828db373435daa15483d2ab753048f62a.tar.bz2
ands-006f333828db373435daa15483d2ab753048f62a.tar.xz
ands-006f333828db373435daa15483d2ab753048f62a.zip
Production
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 4ccf94d..69293aa 100755
--- a/setup.sh
+++ b/setup.sh
@@ -7,6 +7,7 @@ shift
case "$action" in
all)
+ ./setup.sh -i $inventory network "$@" || exit 1
./setup.sh -i $inventory prepare "$@" || exit 1
./setup.sh -i $inventory openshift "$@" || exit 1
./setup.sh -i $inventory gluster "$@" || exit 1
@@ -19,6 +20,9 @@ case "$action" in
vm)
apply playbooks/ands-vm-setup.yml "$@" || exit 1
;;
+ network)
+ apply playbooks/ands-network.yml "$@" || exit 1
+ ;;
prepare)
apply playbooks/ands-prepare.yml "$@" || exit 1
;;
@@ -64,12 +68,14 @@ case "$action" in
apply playbooks/openshift-add-gluster.yml "$@" || exit 1
;;
masters)
+ ./setup.sh -i $inventory network "$@" || exit 1
./setup.sh -i $inventory prepare "$@" || exit 1
./setup.sh -i $inventory openshift-masters "$@" || exit 1
./setup.sh -i $inventory gluster "$@" || exit 1
./setup.sh -i $inventory configure "$@" || exit 1
;;
nodes)
+ ./setup.sh -i $inventory network "$@" || exit 1
./setup.sh -i $inventory prepare "$@" || exit 1
./setup.sh -i $inventory openshift-nodes "$@" || exit 1
./setup.sh -i $inventory gluster "$@" || exit 1