aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSean Mooney <sean.k.mooney@intel.com>2016-08-01 21:57:48 +0000
committerSean Mooney <sean.k.mooney@intel.com>2016-08-31 13:12:34 +0000
commit64c40e20a56c1ecbc78956801bc0eb697ad2ef8d (patch)
tree517687ef19b05ce4b9394cff18dbe20e1589cc8d /tools
parent538dbac24a86d21f28191f503e2daa3b89c1ed5b (diff)
downloadkolla-64c40e20a56c1ecbc78956801bc0eb697ad2ef8d.tar.gz
kolla-64c40e20a56c1ecbc78956801bc0eb697ad2ef8d.zip
add deploy-servers command
- This change extends kolla-ansible with a deploy-server command to enroll and deploy physical servers with bifrost. Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34 Implements: blueprint bifrost-support
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kolla-ansible19
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index ea9275776..bb8e9bd25 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
@@ -146,18 +148,23 @@ case "$1" in
PLAYBOOK="${BASEDIR}/ansible/destroy.yml"
;;
(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"