Looks like some type of Sedum. There are way to many of those for me to go any further with ID. Sedum like full sun, though the low spreading type like you have will tolerate some shade. It would want well drained soil. Indoors it would need a sunny spot.