adds valid roles to a yaml config file