@kirs I'm not sure I follow you. The point of this pull request is to add `release_roles`. Are you suggesting there is a better place to put it? Here is how Capistrano itself does it:

https://github.com/capistrano/capistrano/commit/6e9863cdc48688168d70505c3fb92e8671a4ea65#diff-aa4465f31474e46370f8f1f204f7d51e