fix 🐛: Update loop condition to include quotes around wol_mode
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 9s

Modified the loop condition in the code to ensure proper handling of the 'wol_mode' variable by enclosing it in quotes. This change addresses an issue where the variable was not being interpreted correctly due to missing quotes.
This commit is contained in:
2025-12-26 09:26:44 +01:00
parent aea02a8e39
commit 37c54251bf

View File

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