refactor ♻️: Remove quotes from wol_mode loop condition
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 9s
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:
@@ -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
|
||||
|
||||
|
||||
# # ============================================================
|
||||
|
||||
Reference in New Issue
Block a user