Pedals you did just fine Just because you got bad advice doesn't make YOU wrong.
And quite frankly, you ask the LEGALITY of it, Pedals. Now if you want real advice, here you go.
First of all, as I recall, the O-rings in the 172 fuel primer are NOT your regular off-the-shelf AN O-rings. I believe that they are oval-rings and not O-rings. Tom, who has probably done a thousand of them to my one, may correct me. But as I recall, the manufacturer got some off the wall ()-ring and put it onto the primer shaft.
Second of all, "removal of (nonimportant) parts and repair of (noncomplex) systems is a gray area. Any FAA gooney that busts you for taking a primer apart (knurled knob on the panel and pulling out the shaft AFTER shutting off the gas) and calling that complex has a problem of craniorectal insertion. But they hold the hammer, so be careful.
Third, the amount of lube you use on the rings is about the amount that would fill a flea's navel (or an FAA inspector's heart, your call). More than that and you are going to cob up the output check-valve to the point where you have to pull the whole thing and clean it ... and in my book, THAT is the dividing line between owner maintenance and A (not A&P) repair.
Fourth, if you are alone in the hangar when this happens, who is going to rat on you?
Fifth, if somebody lubed this thing a few months ago and it has now gotten stiff, YOU have been stiffed. THat lube ought to last five or ten years.
Tom, please chime in for stuff I may have forgotten.
Ron, if you want my PMI's name, you can go to the Sacramento FSDO and ask for Helen Hunt. THat is, you can go to Helen Hunt for it.
Thanks,
Jim