fix: Don't manage systemd units in check_mode

This commit is contained in:
2026-08-13 16:40:09 +02:00
parent 918c54bbc3
commit 4e73d48d56
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -125,7 +125,9 @@
daemon_reload: true
state: started
name: "{{ filename }}.timer"
when: item.cmd is defined
when:
- item.cmd is defined
- not ansible_check_mode
become: true
loop: "{{ hcio_checks }}"
loop_control: