diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-01 07:03:23 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-01 07:03:24 +0000 |
| commit | 64f2dafe2b9a5e896721658767960141edd46eef (patch) | |
| tree | 7a3fbdab5184cb22f6faa0fe3b4cb9e4e8b610d4 /tools | |
| parent | 69af20852ad2b53dfcf76b9132a378c4f6c5a8c9 (diff) | |
| parent | 64c40e20a56c1ecbc78956801bc0eb697ad2ef8d (diff) | |
| download | kolla-64f2dafe2b9a5e896721658767960141edd46eef.tar.gz kolla-64f2dafe2b9a5e896721658767960141edd46eef.zip | |
Merge "add deploy-servers command"3.0.0.0b3
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/kolla-ansible | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible index 5e4380d79..941c49a46 100755 --- a/tools/kolla-ansible +++ b/tools/kolla-ansible @@ -42,9 +42,11 @@ Commands: prechecks Do pre-deployment checks for hosts mariadb_recovery Recover a completely stopped mariadb cluster bootstrap-servers bootstrap servers with kolla deploy dependencies - deploy Deploy and start all kolla containers destroy Destroy Kolla containers, volumes and host configuration ('-e destroy_include_images=yes' to also destroy Kolla images) + deploy Deploy and start all kolla containers + deploy-bifrost Deploy and start bifrost container + deploy-servers Enroll and deploy servers with bifrost post-deploy Do post deploy on deploy node pull Pull all images for containers (only pulls, no running container changes) reconfigure Reconfigure OpenStack service @@ -161,18 +163,23 @@ EOF fi ;; (bootstrap-servers) - ACTION="Deploying Playbooks" + ACTION="Bootstraping servers" PLAYBOOK="${BASEDIR}/ansible/kolla-host.yml" EXTRA_OPTS="$EXTRA_OPTS -e action=bootstrap-servers" ;; -(bifrost-deploy) +(deploy) + ACTION="Deploying Playbooks" + EXTRA_OPTS="$EXTRA_OPTS -e action=deploy" + ;; +(deploy-bifrost) ACTION="Deploying Bifrost" PLAYBOOK="${BASEDIR}/ansible/bifrost.yml" EXTRA_OPTS="$EXTRA_OPTS -e action=deploy" ;; -(deploy) - ACTION="Deploying Playbooks" - EXTRA_OPTS="$EXTRA_OPTS -e action=deploy" +(deploy-servers) + ACTION="Deploying servers with bifrost" + PLAYBOOK="${BASEDIR}/ansible/bifrost.yml" + EXTRA_OPTS="$EXTRA_OPTS -e action=deploy-servers" ;; (post-deploy) ACTION="Post-Deploying Playbooks" |
