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

@ -47,6 +47,7 @@ Commands:
reconfigure Reconfigure OpenStack service
certificates Generate self-signed certificate for TLS *For Development Only*
upgrade Upgrades existing OpenStack Environment
genconfig Generate configuration files for enabled OpenStack services
EOF
}
@ -161,6 +162,10 @@ case "$1" in
ACTION="Generate TLS Certificates"
PLAYBOOK="${BASEDIR}/ansible/certificates.yml"
;;
(genconfig)
ACTION="Generate configuration files for enabled OpenStack services"
EXTRA_OPTS="$EXTRA_OPTS -e action=config"
;;
(*) usage
exit 0
;;