Legacy: Chef activity: Get Roles The Get Roles activity retrieves roles installed on a given Chef server. The activity stores a list of retrieved role names in the roles sensor script variable. Table 1. Results table Result Description Success The Chef request was successful Failure The Chef request failed, the Chef server was unavailable, or the Chef server rejected the supplied credentials The Get Roles activity uses only shared input variables. Legacy: Get role dataThe Get Role Data activity retrieves additional information about a given Chef role.