He became Speaker due to a deal that the House Freedom Caucus made. What that entailed I am not sure.
Ryan promised a full Obamacare repeal.