--- node_exporter_base_flags: >- --collector.systemd --collector.processes --collector.tcpstat --no-collector.infiniband --no-collector.tapestats --no-collector.zfs # Disable ARP collector by default unless this is the bastion router in barbican node_exporter_disable_arp: "{{ not (inventory_hostname == 'bastion' and 'barbican' in group_names) }}" node_exporter_flags: >- {{ node_exporter_base_flags }} {% if node_exporter_disable_arp %}--no-collector.arp{% endif %}