diff options
Diffstat (limited to 'tools/kolla-ansible')
| -rwxr-xr-x | tools/kolla-ansible | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 36ecc0397..413df9c62 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -41,6 +41,7 @@ Commands: prechecks Do pre-deployment checks for hosts mariadb_recovery Recover a completely stopped mariadb cluster deploy Deploy and start all kolla containers + cleanup Cleanup containers, volumes and host post-deploy Do post deploy on deploy node pull Pull all images for containers (only pulls, no runnnig container changes) reconfigure Reconfigure OpenStack service @@ -131,6 +132,10 @@ case "$1" in EXTRA_OPTS="$EXTRA_OPTS -e action=deploy" PLAYBOOK="${BASEDIR}/ansible/mariadb_recovery.yml" ;; +(cleanup) + ACTION="Cleanup containers, volumes and host" + PLAYBOOK="${BASEDIR}/ansible/cleanup.yml" + ;; (deploy) ACTION="Deploying Playbooks" EXTRA_OPTS="$EXTRA_OPTS -e action=deploy" |
