Is it true that if $\operatorname{Ext}^{1}_{A}(P,A/I)=0$  forall $I$ then $P$ is projective? 

Similar statements are true for flat and injective modules, but I'm beginning to suspect that projective modules cannot be characterized solely by ideals.