diff --git a/templates/etc/systemd/system/homeassistant.service.j2 b/templates/etc/systemd/system/homeassistant.service.j2 index df8edab..862f180 100644 --- a/templates/etc/systemd/system/homeassistant.service.j2 +++ b/templates/etc/systemd/system/homeassistant.service.j2 @@ -1,5 +1,5 @@ #jinja2: lstrip_blocks: True -# {{ ansible_managed }} +{{ ansible_managed | comment }} [Unit] Description=Home Assistant Wants=network-online.target diff --git a/templates/etc/udev/rules.d/99-mm-disable.rules.j2 b/templates/etc/udev/rules.d/99-mm-disable.rules.j2 index 54055cf..990794e 100644 --- a/templates/etc/udev/rules.d/99-mm-disable.rules.j2 +++ b/templates/etc/udev/rules.d/99-mm-disable.rules.j2 @@ -1,5 +1,5 @@ #jinja2: lstrip_blocks: True -# {{ ansible_managed }} +{{ ansible_managed | comment }} {% for item in homeassistant_serial_device %} ATTRS{idVendor}=="{{ item.vendor_id }}", ATTRS{idProduct}=="{{ item.product_id }}", ENV{ID_MM_DEVICE_IGNORE}="1" {% endfor %}