DRY up the definitions of machines using roles