diff --git a/handlers/main.yml b/handlers/main.yml index 64fa207..6dc4c7c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -16,3 +16,9 @@ delegate_to: "{{ homeassistant_nginx_server }}" become: True become_user: root + +- name: Reload udev rules + command: "udevadm control --reload-rules" + listen: __udev_reload + become: True + become_user: root diff --git a/tasks/install.yml b/tasks/install.yml index 5245577..efcb4cd 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -40,6 +40,7 @@ content: "{{ homeassistant_cmdline_content }}" dest: /boot/cmdline.txt when: homeassistant_cmdline_override_enabled + notify: __udev_reload - name: Exclude serial devices from ModemManager template: