The front lawn of the house we rent is infested with ants. Can I use laundry detergent (liquid) to kill them without damaging the grass? I know dishwashing liquid will kill the grass, but will laundry detergent, too? I currently use to kill them with the smell from the shared septic tank which overflows when it's raining but the rain dilutes it until it doesn't kill anything.
Yes, it will kill grass if you use it neat. You can try a 3% solution of dish soap mixed with water and sprayed on the area, that might kill the ants but shouldn't harm the grass. There are other suggestions in this link https://www.gardeningknowhow.com/plant-problems/pests/insects/how-to-control-ants-in-lawns.htm
Mix Dawn and water, 1 teaspoon per quart. Amazing insecticide, and a great spritz on dishes before a wash. Won't kill plants but they might notice.
My all-purpose plant soap is 1 gallon water, 4 teaspoons baking soda, 2 teaspoons Dawn, as per the Cornell Formula. It won't hurt your plants and doubles as a fungicide, but it might lack the oomph you need.
As others have said, ants aren't necessarily a bad thing. Fire and carpenter - I can see banishing these from your yard. Worse comes to worse, find the nest and pour Dawn directly in, then hose it to make it runny enough to flow in. (Had to do this once with a nest of aggressive fire ants).
But regular old garden/field ants - they're welcome around the house.
In my area, the only ant nests that are noticeable are fire ants. Identify your cohabitants - that's step one. If they're carpenter ants (unlikely) - hey don't worry, you're renting! If they're fire - Dawn them and flood them. The damage to grass is insignificant - and who knows what your landlord will use to get rid of them? Better a biodegradable solution than Ortho Home Defense or a visit from an exterminator.