fix ansible_managed handling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-28 10:45:44 +02:00
parent 14a4ec7c05
commit 7ccd71b982
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#jinja2: lstrip_blocks: True #jinja2: lstrip_blocks: True
# {{ ansible_managed }} {{ ansible_managed | comment }}
[Unit] [Unit]
Description=Home Assistant Description=Home Assistant
Wants=network-online.target Wants=network-online.target

View File

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