aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/kolla-ansible4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kolla-ansible b/tools/kolla-ansible
index baaee60d3..021af79ac 100755
--- a/tools/kolla-ansible
+++ b/tools/kolla-ansible
@@ -41,7 +41,9 @@ Commands:
EOF
}
-ARGS=$(getopt -o hi:p:t: -l help,inventory:,playbook: --name "$0" -- "$@") || { usage >&2; exit 2; }
+SHORT_OPTS="hi:p:t:"
+LONG_OPTS="help,inventory:,playbook:,tags:"
+ARGS=$(getopt -o "${SHORT_OPTS}" -l "${LONG_OPTS}" --name "$0" -- "$@") || { usage >&2; exit 2; }
eval set -- "$ARGS"
find_base_dir