Explorar el Código

Removed Restart network handler since handling the network moved to its own role

Till Klocke hace 9 años
padre
commit
299fbba9a7
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      roles/ff-supernode/handlers/main.yml

+ 4 - 4
roles/ff-supernode/handlers/main.yml

@@ -2,11 +2,11 @@
 # handlers file for ff-supernode
 # In Ubuntu restarting the networking service causes problems.
 # So we use ifdown and ifup to enable changes
-- name: Restart network
-  shell: ifdown --exclude=lo -a && ifup --exclude=lo -a
-
 - name: Restart supervisor
   service: name=supervisor state=restarted
 
 - name: Reboot machine
-  shell: reboot
+  shell: reboot
+
+- name: Restart cron
+  service: name=cron state=restarted