Multiple roles prune cluster

Hi @timlinux and @Charlotte-Morgan, this is the PR for  multiple roles with prune cluster implementation.