Celtic dominanted with 70 per cent possession in the clash on Sunday, but were far from their best form against relegation threatened Hamilton.
The hosts played over half of the match a man down, after Darren Lyon was sent off for two bookable offences, yet Celtic failed to capitalise on their advantage, with Rodgers blaming the pitch surface.
He said: ''It was important to win today and we're nearly there in the league now. I always say on the Astroturf pitches, it's very, very difficult to get fast flowing football.''
Celtic striker Leigh Griffiths notched his 97th goal for the club less than a minute after he was substituted on at half-time, having suffered an injury-hit season.
Rodgers said of the 27-year-old: ''There's disappointment that he has been out for periods of my time here, but that's what he does best.''