reload udev rules when changed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-05-04 22:59:18 +02:00
parent 476137dcc0
commit c24718759b
2 changed files with 7 additions and 0 deletions

View File

@ -16,3 +16,9 @@
delegate_to: "{{ homeassistant_nginx_server }}" delegate_to: "{{ homeassistant_nginx_server }}"
become: True become: True
become_user: root become_user: root
- name: Reload udev rules
command: "udevadm control --reload-rules"
listen: __udev_reload
become: True
become_user: root

View File

@ -40,6 +40,7 @@
content: "{{ homeassistant_cmdline_content }}" content: "{{ homeassistant_cmdline_content }}"
dest: /boot/cmdline.txt dest: /boot/cmdline.txt
when: homeassistant_cmdline_override_enabled when: homeassistant_cmdline_override_enabled
notify: __udev_reload
- name: Exclude serial devices from ModemManager - name: Exclude serial devices from ModemManager
template: template: