unoverse 0.1.133 → 0.1.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -177,8 +177,14 @@
|
|
|
177
177
|
# had already been fixed two minutes earlier by this very playbook.
|
|
178
178
|
#
|
|
179
179
|
# The question is "is anything wrong NOW", so the window starts when the services did.
|
|
180
|
+
# `{% raw %}` because DOCKER'S TEMPLATE LANGUAGE AND JINJA SHARE A SYNTAX. `-f
|
|
181
|
+
# '{{.State.StartedAt}}'` is a Go template for docker and a Jinja expression for
|
|
182
|
+
# Ansible, which parses it first and dies on `unexpected '.'` — the whole task fails
|
|
183
|
+
# before the shell ever runs. This block uses no Ansible variables, so the honest fix is
|
|
184
|
+
# to hand it over untouched rather than escape the braces one at a time.
|
|
180
185
|
- name: "[12/14] Check for errors in service logs"
|
|
181
186
|
shell: |
|
|
187
|
+
{% raw %}
|
|
182
188
|
cd /opt/gravity
|
|
183
189
|
# Newest container start: everything before it belongs to a previous run.
|
|
184
190
|
SINCE=$(docker compose ps -q 2>/dev/null | xargs -r docker inspect -f '{{.State.StartedAt}}' 2>/dev/null | sort | tail -1)
|
|
@@ -190,6 +196,7 @@
|
|
|
190
196
|
else
|
|
191
197
|
echo "No errors since the services started"
|
|
192
198
|
fi
|
|
199
|
+
{% endraw %}
|
|
193
200
|
register: log_errors
|
|
194
201
|
ignore_errors: yes
|
|
195
202
|
|
package/package.json
CHANGED