Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Modify when-statement to not include jinja2 templating delimiters such #25

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
- name: check collectors
fail:
msg: "Collector cannot be both disabled and enabled"
when: '"{{ item }}" in "{{ node_exporter_enabled_collectors }}"'
when: item in node_exporter_enabled_collectors
with_items: "{{ node_exporter_disabled_collectors }}"