aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kolla-ansible6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index 0a1965cdb..11ed742c7 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -38,6 +38,7 @@ Options:
Commands:
prechecks Do pre-deployment checks for hosts
+ mariadb_recovery Recover a completely stopped mariadb cluster
deploy Deploy and start all kolla containers
post-deploy Do post deploy on deploy node
pull Pull all images for containers (only pulls, no runnnig container changes)
@@ -119,6 +120,11 @@ case "$1" in
ACTION="Pre-deployment checking"
PLAYBOOK="${BASEDIR}/ansible/prechecks.yml"
;;
+(mariadb_recovery)
+ ACTION="Attempting to restart mariadb cluster"
+ EXTRA_OPTS="$EXTRA_OPTS -e action=deploy"
+ PLAYBOOK="${BASEDIR}/ansible/mariadb_recovery.yml"
+ ;;
(deploy)
ACTION="Deploying Playbooks"
EXTRA_OPTS="$EXTRA_OPTS -e action=deploy"