From e83f4798fff5296836200f60e0dfc8dbbd1e1d3e Mon Sep 17 00:00:00 2001 From: = Date: Wed, 27 Jan 2021 15:11:34 +0100 Subject: [PATCH] fixed dual restart of salt-minion --- k3s/usb-devices.sls | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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