Read EXTRA_OPTS from env in kolla-ansible script

Read EXTRA_OPTS from env make it possible that using arbitrary
ansible-playbook parameters in kolla-ansible script. like

    EXTRA_OPTS='--limit control' kolla-ansible deploy

Change-Id: I10e0dafb6138d91facdb66a2f487cdeca4689c28
This commit is contained in:
Jeffrey Zhang 2016-12-05 10:20:29 +08:00
parent 62c6d5a379
commit 444dbb48cc

View File

@ -69,7 +69,7 @@ find_base_dir
INVENTORY="${BASEDIR}/ansible/inventory/all-in-one" INVENTORY="${BASEDIR}/ansible/inventory/all-in-one"
PLAYBOOK="${BASEDIR}/ansible/site.yml" PLAYBOOK="${BASEDIR}/ansible/site.yml"
VERBOSITY= VERBOSITY=
EXTRA_OPTS= EXTRA_OPTS=${EXTRA_OPTS}
CONFIG_DIR="/etc/kolla" CONFIG_DIR="/etc/kolla"
PASSWORDS_FILE="${CONFIG_DIR}/passwords.yml" PASSWORDS_FILE="${CONFIG_DIR}/passwords.yml"
DANGER_CONFIRM= DANGER_CONFIRM=