Fix {{ hostname }} with {{ grains.id }}