The ufw module wraps the comment in single quotes without escaping, so a quote in a ufw_rules comment failed the rules loop part-way, after earlier rules had already changed. validate.yml now refuses it before any change. Only the single quote is refused: backslash, non-ASCII and surrounding whitespace work for base rules, which are never read back as tags. Delete entries are skipped, as their comment is never sent. Refs: #221 Assisted-by: Claude Code
7 lines
354 B
YAML
7 lines
354 B
YAML
---
|
|
bugfixes:
|
|
- >-
|
|
ufw - A single quote in the ``comment`` of a ``ufw_rules`` entry is now refused before anything changes. The
|
|
ufw module cannot pass it to ufw, so the play failed while applying the rules, after earlier rules of the list
|
|
had been changed. The comment of an entry with ``delete: true`` is not checked, as it is never sent.
|