Merge "Add generate-config option to kolla-ansible"

This commit is contained in:
Jenkins 2016-05-19 16:58:02 +00:00 committed by Gerrit Code Review
commit 6aa81433db

View File

@ -38,15 +38,16 @@ Options:
--verbose, -v Increase verbosity of ansible-playbook --verbose, -v Increase verbosity of ansible-playbook
Commands: Commands:
prechecks Do pre-deployment checks for hosts prechecks Do pre-deployment checks for hosts
mariadb_recovery Recover a completely stopped mariadb cluster mariadb_recovery Recover a completely stopped mariadb cluster
deploy Deploy and start all kolla containers deploy Deploy and start all kolla containers
cleanup Cleanup containers, volumes and host cleanup Cleanup containers, volumes and host
post-deploy Do post deploy on deploy node post-deploy Do post deploy on deploy node
pull Pull all images for containers (only pulls, no running container changes) pull Pull all images for containers (only pulls, no running container changes)
reconfigure Reconfigure OpenStack service reconfigure Reconfigure OpenStack service
certificates Generate self-signed certificate for TLS *For Development Only* certificates Generate self-signed certificate for TLS *For Development Only*
upgrade Upgrades existing OpenStack Environment upgrade Upgrades existing OpenStack Environment
genconfig Generate configuration files for enabled OpenStack services
EOF EOF
} }
@ -161,6 +162,10 @@ case "$1" in
ACTION="Generate TLS Certificates" ACTION="Generate TLS Certificates"
PLAYBOOK="${BASEDIR}/ansible/certificates.yml" PLAYBOOK="${BASEDIR}/ansible/certificates.yml"
;; ;;
(genconfig)
ACTION="Generate configuration files for enabled OpenStack services"
EXTRA_OPTS="$EXTRA_OPTS -e action=config"
;;
(*) usage (*) usage
exit 0 exit 0
;; ;;