Carefully pry off the cover and the o-ring.
Remove the bearing retaining ring from the idler pulley.
Support the pulley evenly and push the bearing and the shaft out.
Remove the capscrew and the washer.
Press the shaft out of the bearing.
Discard the bearing.