The defence secretary says women will be able apply for any military role, including the special forces.