The answer depends on whose side the obstacle is on. The truck is stopped in your lane with its hazard lights on and a warning triangle set out, and you cannot get through in your own lane. The only way around it is through the oncoming lane, and a car is approaching there, so it is hard for the two of you to pass each other at the same time. When oncoming vehicles have trouble passing each other, the driver with the obstacle ahead gives way, and that is you. You may go around only after making sure it is safe for others, so first give way to the oncoming car, then go around the truck