O'Leary joined the side from Stalybridge Celtic on an initial short-term deal, but has agreed to an extension until the end of the current campaign.
He has featured in all but one of Glossop's three league fixtures since his arrival last month, featuring against Ilkeston and Sheffield.
Keep up-to-date with our exclusive email newsletters.
Subscribe