It might be better to use notifies on the tasks above instead of the restart at the end (so it doesn't restart on every run).  It does however add a bunch of extra lines.