fix issue with yml file to use environment and roles