diff --git a/k3s/usb-devices.sls b/k3s/usb-devices.sls index 569bef5..4dfbcf1 100644 --- a/k3s/usb-devices.sls +++ b/k3s/usb-devices.sls @@ -13,7 +13,7 @@ Add the rfxcom433 beacon file: Restart salt-minion: service.running: - name: salt-minion - - onchanges: + - watch: - file: Add the rfxcom433 beacon file Add the rfxcom udev rule: @@ -47,9 +47,3 @@ reload udev rules: - file: Add the rfxcom udev rule - file: Add the zwave udev rule - file: Add the zigbee udev rule - -restart salt-minon: - service.started: - - name: salt-minion - onchanges: - - file: Add the rfxcom433 beacon file