Refactor role with tags for execute pre-run, run and post-run phases. Change-Id: I7daff63be56d2746a63e00d21aaa78078e60f60f