systemd: document need for noqa

This commit is contained in:
uumas
2026-03-12 00:53:14 +02:00
parent 68a40fef1b
commit 2b26209074

View File

@@ -5,5 +5,5 @@ Adds systemd-related notifiable handlers
- Apply systemd unit restarts - Apply systemd unit restarts
- Restarts multiple systemd units in a single transaction - Restarts multiple systemd units in a single transaction
- Units to be restarted are defined in the `systemd_restart_units` variable of type list - Units to be restarted are defined in the `systemd_restart_units` variable of type list
- The variable should be set using `ansible.builtin.set_fact` - The variable should be set using `ansible.builtin.set_fact`, with `# noqa: var-naming[no-role-prefix]`
- The list must not be overridden, but appended (`systemd_restart_units: "{{ systemd_restart_units + ['restartme.service'] }}"` - The list must not be overridden, but appended (`systemd_restart_units: "{{ systemd_restart_units + ['restartme.service'] }}"`