#jinja2: lstrip_blocks: True # {{ ansible_managed }} {% for item in homeassistant_serial_device %} ATTRS{idVendor}=="{{ item.vendor_id }}", ATTRS{idProduct}=="{{ item.product_id }}", ENV{ID_MM_DEVICE_IGNORE}="1" {% endfor %}