only deploy to local if deploy_roles is set to local.