diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-03-13 05:01:30 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-03-13 05:01:30 +0100 |
commit | 006f333828db373435daa15483d2ab753048f62a (patch) | |
tree | 4ae2bedeeb46e69893ee28f96b7d2d48d37549dc /setup.sh | |
parent | 0db2995395d28caf4676ab566085b7c66130b629 (diff) | |
download | ands-006f333828db373435daa15483d2ab753048f62a.tar.gz ands-006f333828db373435daa15483d2ab753048f62a.tar.bz2 ands-006f333828db373435daa15483d2ab753048f62a.tar.xz ands-006f333828db373435daa15483d2ab753048f62a.zip |
Production
Diffstat (limited to 'setup.sh')
-rwxr-xr-x | setup.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |