main.yml 314 B

123456789101112
  1. ---
  2. # handlers file for ff-supernode
  3. # In Ubuntu restarting the networking service causes problems.
  4. # So we use ifdown and ifup to enable changes
  5. - name: Restart supervisor
  6. service: name=supervisor state=restarted
  7. - name: Reboot machine
  8. shell: reboot
  9. - name: Restart cron
  10. service: name=cron state=restarted