reload udev rules when changed
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
476137dcc0
commit
c24718759b
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user