This looks like a member of the Sansevieria family, possibly a cultivar of Sansevieria 'Hahnii'. I realize the foliage shown in these pictures is darker with stripes but as the Wikipedia article says
There is great variation in foliage form within the genus.
When raised in low light it stretches out and the foliage becomes a lighter green.
Here are some cultivation suggestions from the Sansevieria society
Sansevierias are succulent plants and so need a well-drained compost
and moderate watering. In the summer months they can be watered
frequently and appreciate this, as long as the soil does not remain
water-logged, but in the cooler months they are best left dry. A
minimum winter temperature of 10°C is recommended. Short periods of
lower temperatures may however be tolerated as long as the plants are
dry.
Sansevierias will grow in many positions but appreciate good light and
dappled sun to grow naturally and produce good leaf shape and
colouration. Long green leaves, often produced in low light
situations, and admired my some collectors and growers, are not normal
and the leaves tend to be weak and featureless.
The soil used for Sansevierias can be adapted to suit whatever
materials are available locally. The main constituent needs to be a
material which anchors the plant in the ground but at the same time
keeps the compost open to allow for excess water to drain through
quickly. This could be pumice or lava or any other neutral material.
To this needs to be added in about equal proportions some kind of
material containing humus and fertilizer. Again almost anything will
be suitable, peat or coir based composts or even orchid composts with
a slow release fertilizer added.
Edit: if the existing soil retains moisture too well you can just re pot with a better draining mixture.