fix(remnawave): убрать ${#arr} из bootstrap-шаблона
ansible-core-net / deploy (push) Failing after 11s

Иначе lookup(template) ломается на Jinja-комментарии.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
karpenokandCursor committed 2026-11-11 22:31:45 +07:00
1 parent 8f17cbbb62
commit 39d1f66663
1 file changed
+1 -1
@@ -18,7 +18,7 @@ api() {
local path="$1"; shift
local tmp code
tmp=$(mktemp)
if [ "${#AUTH_HDR[@]}" -gt 0 ]; then
if [ -n "${AUTH_HDR[*]:-}" ]; then
code=$("${CURL[@]}" -o "$tmp" -w '%{http_code}' -X "$method" "${AUTH_HDR[@]}" \
-H "Content-Type: application/json" "${API_BASE}${path}" "$@") || true
else