refactor ♻️: Remove quotes from wol_mode loop condition
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 9s

Refactored the loop condition in the code to remove unnecessary quotes around the variable `wol_mode`.
This commit is contained in:
2025-12-26 09:30:56 +01:00
parent 37c54251bf
commit 97b2a519eb

View File

@@ -62,8 +62,8 @@
loop_control: loop_control:
label: "{{ item.0 }}" label: "{{ item.0 }}"
when: when:
- "'{{ wol_mode }}' not in item.1.stdout" - wol_mode not in item.1.stdout
- "'{{ wol_mode }}' in item.2.stdout" - wol_mode in item.2.stdout
# # ============================================================ # # ============================================================