deposit: action task improvement

* Changes the task to halt and set action to allow a parameter
  for action type and message.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>