diff options
| author | Duane DeCapite <ddecapit@cisco.com> | 2016-08-05 14:01:38 -0400 |
|---|---|---|
| committer | Duane DeCapite <ddecapit@cisco.com> | 2016-08-08 13:37:10 -0400 |
| commit | 6d45786d5992a62af08ee4bed31094b6834daf41 (patch) | |
| tree | adf92a6ff54a9f84e1d4753dbf938c06fec0f3e6 /tools | |
| parent | 3071d32a3fb76e72901112a9b3e7fc59233f54bf (diff) | |
| download | kolla-6d45786d5992a62af08ee4bed31094b6834daf41.tar.gz kolla-6d45786d5992a62af08ee4bed31094b6834daf41.zip | |
Change cleanup to destroy as cleanup is a misnomer
The cleanup command in the external API is a misnomer and should
be called destroy.
Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e
Closes-Bug: 1610364
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index d3416fb58..030f0323e 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -42,8 +42,8 @@ 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 - ('-e cleanup_include_images=yes' to also remove Kolla images) + destroy Destroy Kolla containers, volumes and host configuration + ('-e destroy_include_images=yes' to also destroy Kolla images) post-deploy Do post deploy on deploy node pull Pull all images for containers (only pulls, no running container changes) reconfigure Reconfigure OpenStack service @@ -140,9 +140,9 @@ 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" +(destroy) + ACTION="Destroy Kolla containers, volumes and host configuration" + PLAYBOOK="${BASEDIR}/ansible/destroy.yml" ;; (deploy) ACTION="Deploying Playbooks" |
