I tried googling this but fire-fighter is too similar to fire-fight (as in gun fight or shootout) so I keep getting the wrong results. I'm asking about fire-fighting as in containing and extinguishing fires.
I know that there are fire-fighters on military bases who serve the base similar to how a municipal fire department serves a town. I'm not asking about that.
I'm looking for examples of fire-fighters who were part of the military and traveled with the army to fight fires they needed put out on the front lines.
I've seen in movies and games from WW1 and WW2 that firebombs and flamethrowers and even normal munitions could start fires that lit up whole forests or city blocks. I've seen soldiers running from out of control fires or even try to advance through rubble that is still smoldering. How did armies deal with all these fires everywhere? What if there was a fire in the way of their advance? What if there was a fire spreading toward their position and it was important that they not give up their position? I'm assuming local fire departments weren't reliable in a war-zone, so did armies have fire-fighting units in their ranks? How close to combat would such units have been deployed?