My thoughts exactly. Happened to me during a postdoc appointment. Was already fully funded through a research grant and was asked to teach an undergrad class which I was happy to do. The department made a job description that was pretty similar to the one posted so I could apply to teach. It was a great couple of years.
2 Likes