Ansley, S/T qualify for state