From 006f333828db373435daa15483d2ab753048f62a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 13 Mar 2018 05:01:30 +0100 Subject: Production --- setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'setup.sh') 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 -- cgit v1.2.3