Setting the role for db related task