A rotary position sensing assembly for an internal combustion engine includes a mounting socket rigidly attached to a structural support of a rotating component and a position sensor slidably engaged with the socket. A slidably engageable retainer maintains the sensor within the socket at a predetermined distance from the rotating component.