mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
commit
43733092fe
2 changed files with 15 additions and 0 deletions
|
@ -27,3 +27,9 @@
|
|||
shell: systemctl restart systemd-udevd.service
|
||||
when: udev_unit.stat.exists is defined and udev_unit.stat.exists
|
||||
|
||||
- name: reload systemd-udevd so it has rootfs open read-write
|
||||
template: src=udev-reload.service dest=/etc/systemd/system/
|
||||
|
||||
- name: enable the reload service
|
||||
shell: systemctl enable udev-reload.service
|
||||
|
||||
|
|
9
roles/2-common/templates/udev-reload.service
Normal file
9
roles/2-common/templates/udev-reload.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Make sure udev is operating on RW disk
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/systemctl restart systemd-udevd.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue