Attached 'not (system_service_suppress_flush | bool)' directly to handler

This commit is contained in:
2025-08-28 21:16:04 +02:00
parent b919f39e35
commit 6c2d5c52c8
2 changed files with 4 additions and 3 deletions

View File

@@ -4,5 +4,6 @@
daemon_reload: yes
enabled: yes
state: "{{ system_service_state }}"
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
when: not (system_service_suppress_flush | bool)

View File

@@ -46,5 +46,5 @@
command: /bin/true
notify: refresh systemctl service
when: not system_service_uses_at
when: (SYS_SERVICE_ALL_ENABLED | bool or system_force_flush | bool) and not system_service_suppress_flush | bool
when: (SYS_SERVICE_ALL_ENABLED | bool or system_force_flush | bool)