24 lines
585 B
Plaintext
24 lines
585 B
Plaintext
package containerudev
|
|
|
|
templates: [
|
|
{
|
|
template: "common/reload-udev-rules.path"
|
|
dest: "/etc/systemd/system/reload-udev-rules.path"
|
|
hooks: {
|
|
changed: [
|
|
{run: "systemctl daemon-reload"},
|
|
{run: "systemctl try-restart reload-udev-rules.path"}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
template: "common/reload-udev-rules.service"
|
|
dest: "/etc/systemd/system/reload-udev-rules.service"
|
|
hooks: {
|
|
changed: [
|
|
{run: "systemctl daemon-reload"},
|
|
]
|
|
}
|
|
}
|
|
]
|