A man has pleaded guilty to setting potentially life-threatening fire to vehicles and a house.